minimized window not rising on Alt-Tab?

2013-09-24 Thread Yury Tarasievich
Hello guys, It seems that Alt+Tab stopped rising minimized window if it sits in the first slot in the window list. I think this was introduced around preliminary 0.95.5 versions. So, I press Alt+Tab, and blue list window pops up. The list cursor is now set to the first slot (grayed out ico

Re: minimized window not rising on Alt-Tab?

2013-09-29 Thread Rodolfo García Peñas
On Tue, 24 Sep 2013, Yury Tarasievich escribió: > Hello guys, > > It seems that Alt+Tab stopped rising minimized window if it sits in > the first slot in the window list. I think this was introduced > around preliminary 0.95.5 versions. > > So, I press Alt+Tab, and blue list window pops up. The

Re: minimized window not rising on Alt-Tab?

2013-09-29 Thread Iain Patterson
Quoth Rodolfo García Peñas, Launch two xterms, minimize both. Restart windowmaker. Alt+Tab only restore the second. I'll have a look this week. -- To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.

Re: minimized window not rising on Alt-Tab?

2013-10-02 Thread Iain Patterson
Quoth I, I'll have a look this week. It turned out to be a simple bug. wSwitchPanelSelectFirst() was inadvertently returning NULL, thus causing the switchpanel to fail to raise the first selected window.From 853983fa9666c16361a63819f80d2f83b7ef9edd Mon Sep 17 00:00:00 2001 From: Iain Patt

Re: minimized window not rising on Alt-Tab?

2013-10-02 Thread Carlos R. Mafra
On Wed, 2 Oct 2013 at 10:28:32 +0100, Iain Patterson wrote: > Quoth I, > > >I'll have a look this week. > > It turned out to be a simple bug. wSwitchPanelSelectFirst() was > inadvertently returning NULL, thus causing the switchpanel to fail > to raise the first selected window. > From 853983

Re: minimized window not rising on Alt-Tab?

2013-10-04 Thread Rodolfo García Peñas
On Wed, 02 Oct 2013, Iain Patterson escribió: > Quoth I, > > >I'll have a look this week. > > It turned out to be a simple bug. wSwitchPanelSelectFirst() was > inadvertently returning NULL, thus causing the switchpanel to fail > to raise the first selected window. Hi, I think the problem is

Re: minimized window not rising on Alt-Tab?

2013-10-04 Thread Rodolfo García Peñas
I am testing your patch now. Forget my mail. Cheers. On Fri, 04 Oct 2013, Rodolfo kix Garcia escribió: > On Wed, 02 Oct 2013, Iain Patterson escribió: > > > Quoth I, > > > > >I'll have a look this week. > > > > It turned out to be a simple bug. wSwitchPanelSelectFirst() was > > inadvertent

Re: minimized window not rising on Alt-Tab?

2013-10-05 Thread Iain Patterson
Quoth Carlos R. Mafra, switchpanel.c: In function 'wSwitchPanelSelectFirst': switchpanel.c:673:18: warning: variable 'tmpwin' set but not used [-Wunused-but-set-variable] [...] which looks bogus. Is there any compiler food for this case? It is indeed bogus. The variable is used in WM_ITERAT

Re: minimized window not rising on Alt-Tab?

2013-10-05 Thread Rodolfo García Peñas
Hi, this is the cpp code: ---8<--- if (panel->win) { for (tmpwin = WMArrayFirst(panel->windows, &(i)); (i) != WANotFound; tmpwin = WMArrayNext(panel->windows, &(i))) { changeImage(panel, i, i == panel->current, 0, 0); } drawTitle(panel, panel->current, title); } ---8<--- The tmpwin v

Re: minimized window not rising on Alt-Tab?

2013-10-05 Thread Carlos R. Mafra
On Sat, 5 Oct 2013 at 11:36:00 +0100, Iain Patterson wrote: > Quoth Carlos R. Mafra, > > >switchpanel.c: In function 'wSwitchPanelSelectFirst': > >switchpanel.c:673:18: warning: variable 'tmpwin' set but not used > >[-Wunused-but-set-variable] > >[...] > >which looks bogus. Is there any compiler

Re: minimized window not rising on Alt-Tab?

2013-10-05 Thread kix
I am out now. Replace the variable with (void *)? "Carlos R. Mafra" escribió: >On Sat, 5 Oct 2013 at 11:36:00 +0100, Iain Patterson wrote: >> Quoth Carlos R. Mafra, >> >> >switchpanel.c: In function 'wSwitchPanelSelectFirst': >> >switchpanel.c:673:18: warning: variable 'tmpwin' set but not use

Re: minimized window not rising on Alt-Tab?

2013-10-05 Thread Iain Patterson
Quoth Rodolfo García Peñas, I am out now. Replace the variable with (void *)? Just elicits the same warning, unfortunately. -- To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.

Re: minimized window not rising on Alt-Tab?

2013-10-05 Thread Rodolfo García Peñas
On Sat, 05 Oct 2013, Iain Patterson escribió: > Quoth Rodolfo García Peñas, > > >I am out now. > > > >Replace the variable with (void *)? > > Just elicits the same warning, unfortunately. Then, why not forget the macro and include the final code? This code is the same, but without the warnin

Re: minimized window not rising on Alt-Tab?

2013-10-05 Thread SJS
begin quoting Iain Patterson as of Sat, Oct 05, 2013 at 11:36:00AM +0100: > Quoth Carlos R. Mafra, > >> switchpanel.c: In function 'wSwitchPanelSelectFirst': >> switchpanel.c:673:18: warning: variable 'tmpwin' set but not used >> [-Wunused-but-set-variable] >> [...] >> which looks bogus. Is there

Re: minimized window not rising on Alt-Tab?

2013-10-06 Thread Rodolfo García Peñas
On Sat, 05 Oct 2013, SJS escribió: > begin quoting Iain Patterson as of Sat, Oct 05, 2013 at 11:36:00AM +0100: > > Quoth Carlos R. Mafra, > > > >> switchpanel.c: In function 'wSwitchPanelSelectFirst': > >> switchpanel.c:673:18: warning: variable 'tmpwin' set but not used > >> [-Wunused-but-set-va

Re: minimized window not rising on Alt-Tab?

2013-10-06 Thread Carlos R. Mafra
On Sun, 6 Oct 2013 at 10:42:06 +0200, Rodolfo García Peñas wrote: > On Sat, 05 Oct 2013, SJS escribió: > > > begin quoting Iain Patterson as of Sat, Oct 05, 2013 at 11:36:00AM +0100: > > > Quoth Carlos R. Mafra, > > > > > >> switchpanel.c: In function 'wSwitchPanelSelectFirst': > > >> switchpane