From renaud at casenave-pere.fr Tue May 14 02:14:44 2013 From: renaud at casenave-pere.fr (=?iso-8859-1?Q?Renaud_Casenave-P=E9r=E9?=) Date: Tue, 14 May 2013 11:14:44 +0900 Subject: [clfswm-devel] Questions / Feature requests regarding the focus policy In-Reply-To: <877gja8utm.fsf@minideb.elcforest> (Philippe Brochard's message of "Tue, 07 May 2013 21:16:05 +0200") References: <87wqt21ivn.fsf@casenave-pere.fr> <87boae5dnt.fsf@common-lisp.net> <12f59786260026ff4cc317acdc0c2745@casenave-pere.fr> <87ppyokcrd.fsf@common-lisp.net> <87k3oww4jd.fsf@casenave-pere.fr> <871uao1zc6.fsf@common-lisp.net> <87d2tzdmxm.fsf@zahikel.casenave.fr> <874nez8uuk.fsf@common-lisp.net> <87haiwg02g.fsf@casenave-pere.fr> <878v477imo.fsf@common-lisp.net> <87txmgaf23.fsf@zahikel.casenave.fr> <877gja8utm.fsf@minideb.elcforest> Message-ID: <87wqr2joiz.fsf@casenave-pere.fr> Hi, On Wed, May 08 2013, Philippe Brochard wrote: >> Regarding the sloppy-select-window focus policy, I noticed a strange behavior: >> If you move the mouse to select a window, it will focus the window as expected, >> but if you then use run-or-raise to focus another window, the focus will quickly >> return to where the mouse is. After it has returned, you can use run-or-raise >> again without problem but it doesn't work the first time, every time you use >> the mouse to focus a window. >> > I have added a test to take care of *steal-focus* variable in > run-or-raise (you have to set it to nil). That's not really what I meant. I think the problem is not with *steal-focus* but with the sloppy-select-window. In fact, the problem persists even when *steal-focus* is t. You can reproduce it this way: Set the sloppy-select-window focus policy. Create two frames within the root. Have a window you can run-or-raise with a shortcut in one frame. Put the mouse on the other frame. At this point, the focus is on the empty frame, where the mouse is. Use the keyboard shortcut to focus the window in the first frame. Now, the focus go to the window, but only for a second, before it returns to the frame where the mouse is. If now you use the run-or-raise shortcut once again, the focus go to the window and stays there, as it should. I can reproduce this problem every time I move the mouse. And actually, I think your last change introduced another problem... If you have a frame in fullscreen and you want to run-or-raise a window in another frame, it doesn't work if *steal-focus* is nil... Sorry for being that annoying :/ -- Renaud Casenave-P?r? From pbrochard at common-lisp.net Tue May 7 19:16:05 2013 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Tue, 07 May 2013 21:16:05 +0200 Subject: [clfswm-devel] Questions / Feature requests regarding the focus policy In-Reply-To: <87txmgaf23.fsf@zahikel.casenave.fr> ("Renaud \=\?iso-8859-1\?Q\?Casenave-P\=E9r\=E9\=22's\?\= message of "Mon, 06 May 2013 13:49:08 +0900") References: <87wqt21ivn.fsf@casenave-pere.fr> <87boae5dnt.fsf@common-lisp.net> <12f59786260026ff4cc317acdc0c2745@casenave-pere.fr> <87ppyokcrd.fsf@common-lisp.net> <87k3oww4jd.fsf@casenave-pere.fr> <871uao1zc6.fsf@common-lisp.net> <87d2tzdmxm.fsf@zahikel.casenave.fr> <874nez8uuk.fsf@common-lisp.net> <87haiwg02g.fsf@casenave-pere.fr> <878v477imo.fsf@common-lisp.net> <87txmgaf23.fsf@zahikel.casenave.fr> Message-ID: <877gja8utm.fsf@minideb.elcforest> Renaud Casenave-P?r? a ?crit : > Hi, > Hi, > I tried the new variable and it is working as expected, thanks! > ok, good! > Regarding the sloppy-select-window focus policy, I noticed a strange behavior: > If you move the mouse to select a window, it will focus the window as expected, > but if you then use run-or-raise to focus another window, the focus will quickly > return to where the mouse is. After it has returned, you can use run-or-raise > again without problem but it doesn't work the first time, every time you use > the mouse to focus a window. > I have added a test to take care of *steal-focus* variable in run-or-raise (you have to set it to nil). Again, please, test and thanks for the report. > And? I am not sure what you changed recently but the problem with mplayer > started in fullscreen has reappeared: with -fs=yes the mplayer window quickly > disappear, but started windowed mode and put in fullscreen with the keyboard, it > doesn't disappear. > My mistake, it's also fixed. BTW I don't have this bug on my machine even with the forced unmap-window. > > Apart from that, I tried several games in steam (namely Portal and Wargame: EE) > and it is working quite nicely even within a frame. I am not sure who to thank > for that so I thank everyone I can :) > Thanks, it's nice to see some satisfied user :-) > > Keep up the good work! > And keep up reporting bugs or request! From renaud at casenave-pere.fr Wed May 15 02:08:41 2013 From: renaud at casenave-pere.fr (=?iso-8859-1?Q?Renaud_Casenave-P=E9r=E9?=) Date: Wed, 15 May 2013 11:08:41 +0900 Subject: [clfswm-devel] Questions / Feature requests regarding the focus policy In-Reply-To: <87wqr2joiz.fsf@casenave-pere.fr> ("Renaud \=\?iso-8859-1\?Q\?Cas\?\= \=\?iso-8859-1\?Q\?enave-P\=E9r\=E9\=22's\?\= message of "Tue, 14 May 2013 11:14:44 +0900") References: <87wqt21ivn.fsf@casenave-pere.fr> <87boae5dnt.fsf@common-lisp.net> <12f59786260026ff4cc317acdc0c2745@casenave-pere.fr> <87ppyokcrd.fsf@common-lisp.net> <87k3oww4jd.fsf@casenave-pere.fr> <871uao1zc6.fsf@common-lisp.net> <87d2tzdmxm.fsf@zahikel.casenave.fr> <874nez8uuk.fsf@common-lisp.net> <87haiwg02g.fsf@casenave-pere.fr> <878v477imo.fsf@common-lisp.net> <87txmgaf23.fsf@zahikel.casenave.fr> <877gja8utm.fsf@minideb.elcforest> <87wqr2joiz.fsf@casenave-pere.fr> Message-ID: <8761ylatau.fsf@sandalphon.hinata3.co.jp> On Tue, May 14 2013, Renaud Casenave-P?r? wrote: > And actually, I think your last change introduced another problem... If you have > a frame in fullscreen and you want to run-or-raise a window in another frame, it > doesn't work if *steal-focus* is nil... I tried again on a real linux box and it seems that the newly added *steal-focus* option doesn't work at all when running in virtual box. Even set to nil, the focus is still stolen by conkeror when I want to browse an url from emacs. The problem mentioned above also only appear in virtual box... -- Renaud Casenave-P?r? From renaud at casenave-pere.fr Mon May 6 04:49:08 2013 From: renaud at casenave-pere.fr (=?iso-8859-1?Q?Renaud_Casenave-P=E9r=E9?=) Date: Mon, 06 May 2013 13:49:08 +0900 Subject: [clfswm-devel] Questions / Feature requests regarding the focus policy In-Reply-To: <878v477imo.fsf@common-lisp.net> (Philippe Brochard's message of "Wed, 24 Apr 2013 22:56:15 +0200") References: <87wqt21ivn.fsf@casenave-pere.fr> <87boae5dnt.fsf@common-lisp.net> <12f59786260026ff4cc317acdc0c2745@casenave-pere.fr> <87ppyokcrd.fsf@common-lisp.net> <87k3oww4jd.fsf@casenave-pere.fr> <871uao1zc6.fsf@common-lisp.net> <87d2tzdmxm.fsf@zahikel.casenave.fr> <874nez8uuk.fsf@common-lisp.net> <87haiwg02g.fsf@casenave-pere.fr> <878v477imo.fsf@common-lisp.net> Message-ID: <87txmgaf23.fsf@zahikel.casenave.fr> Hi, I tried the new variable and it is working as expected, thanks! Regarding the sloppy-select-window focus policy, I noticed a strange behavior: If you move the mouse to select a window, it will focus the window as expected, but if you then use run-or-raise to focus another window, the focus will quickly return to where the mouse is. After it has returned, you can use run-or-raise again without problem but it doesn't work the first time, every time you use the mouse to focus a window. And? I am not sure what you changed recently but the problem with mplayer started in fullscreen has reappeared: with -fs=yes the mplayer window quickly disappear, but started windowed mode and put in fullscreen with the keyboard, it doesn't disappear. Apart from that, I tried several games in steam (namely Portal and Wargame: EE) and it is working quite nicely even within a frame. I am not sure who to thank for that so I thank everyone I can :) Keep up the good work! -- Renaud Casenave-P?r?