[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [STUMP] Resizing in float group
From: |
Kresimir Kumericki |
Subject: |
Re: [STUMP] Resizing in float group |
Date: |
Mon, 14 Mar 2011 11:57:13 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On (11 Mar 16:38), Manuel Giraud wrote:
> Kresimir Kumericki <address@hidden> writes:
[...]
> > mouse button should do resizing. Here, moving works fine, but 3rd
> > mouse button is not resizing, but also moving. (Same for 2nd mouse
> > button.) Any ideas?
>
> It works here. Are you using the float branch Ben Spencer made available
> from here : https://github.com/dangerousben/stumpwm/tree/float ?
I was not aware of this branch but after using it I still get
the same behaviour: all three mouse buttons just move the window.
(I never used git before. What I did is:
git clone -b float https://github.com/dangerousben/stumpwm.git )
> If so, you could try to raise the *debug-level* option above 0 in your
> .stumpwmrc and see if you have the correct events when clicking mouse
> buttons.
I set *debug-level* to 10, but I cannot interpret resulting events
(to me they look the same for all three mouse button clicks). I am attaching
this below.
Note that using xev application I get correct events
("button 1", "button 2" and "button 3").
--- from my .xsession-errors ----
--------- [ Pressing left mouse button] ---------------
11:06:43 >>> :BUTTON-PRESS
11:06:43 find-window-by-parent!
11:06:43 Outputting a message:
Move window! 206 4 #S(FLOAT-WINDOW "XTerm" #x140001C)
11:06:44 Outputting a message:
Done.
11:06:44 <<< :BUTTON-PRESS
11:06:44 timeout: 4999/1000
11:06:44 >>> :BUTTON-PRESS
11:06:44 find-window-by-parent!
11:06:44 <<< :BUTTON-PRESS
11:06:44 timeout: 2499/500
11:06:44 >>> :MAP-NOTIFY
11:06:44 <<< :MAP-NOTIFY
11:06:44 timeout: 4997/1000
11:06:44 >>> :NO-EXPOSURE
11:06:44 <<< :NO-EXPOSURE
11:06:44 timeout: 4997/1000
11:06:44 >>> :CONFIGURE-NOTIFY
11:06:44 CONFIGURE NOTIFY NIL #<XLIB:WINDOW :0 E00004> 580 0 50 16 1 NIL
11:06:44 <<< :CONFIGURE-NOTIFY 11:06:44 timeout: 1249/250
11:06:44 >>> :EXPOSURE
11:06:44 <<< :EXPOSURE
11:06:44 timeout: 999/200
11:06:44 >>> :CONFIGURE-NOTIFY
11:06:44 CONFIGURE NOTIFY NIL #<XLIB:WINDOW :0 E00004> 972 0 50 16 1 NIL
11:06:44 <<< :CONFIGURE-NOTIFY
11:06:44 timeout: 4993/1000
11:06:44 >>> :EXPOSURE
11:06:44 <<< :EXPOSURE
11:06:44 timeout: 624/125
11:06:44 >>> :NO-EXPOSURE
11:06:44 <<< :NO-EXPOSURE
11:06:44 timeout: 624/125
--------- [ Pressing middle mouse button] ---------------
11:06:46 >>> :BUTTON-PRESS
11:06:46 find-window-by-parent!
11:06:46 Outputting a message:
Move window! 206 4 #S(FLOAT-WINDOW "XTerm" #x140001C)
11:06:47 Outputting a message:
Done.
11:06:47 <<< :BUTTON-PRESS
11:06:47 timeout: 4999/1000
11:06:47 >>> :BUTTON-PRESS
11:06:47 find-window-by-parent!
11:06:47 <<< :BUTTON-PRESS
11:06:47 timeout: 2499/500
11:06:47 >>> :NO-EXPOSURE
11:06:47 <<< :NO-EXPOSURE
11:06:47 timeout: 4997/1000
11:06:47 >>> :CONFIGURE-NOTIFY
11:06:47 CONFIGURE NOTIFY NIL #<XLIB:WINDOW :0 E00004> 580 0 50 16 1 NIL
11:06:47 <<< :CONFIGURE-NOTIFY
11:06:47 timeout: 1249/250
11:06:47 >>> :EXPOSURE
11:06:47 <<< :EXPOSURE
11:06:47 timeout: 999/200
11:06:47 >>> :CONFIGURE-NOTIFY
11:06:47 CONFIGURE NOTIFY NIL #<XLIB:WINDOW :0 E00004> 972 0 50 16 1 NIL
11:06:47 <<< :CONFIGURE-NOTIFY
11:06:47 timeout: 4993/1000
11:06:47 >>> :EXPOSURE
11:06:47 <<< :EXPOSURE
11:06:47 timeout: 624/125
11:06:47 >>> :NO-EXPOSURE
11:06:47 <<< :NO-EXPOSURE
11:06:47 timeout: 624/125
--------- [ Pressing right mouse button] ---------------
11:06:49 >>> :BUTTON-PRESS
11:06:49 find-window-by-parent!
11:06:49 Outputting a message:
Move window! 206 4 #S(FLOAT-WINDOW "XTerm" #x140001C)
11:06:49 Outputting a message:
Done.
11:06:49 <<< :BUTTON-PRESS
11:06:49 timeout: 2499/500
11:06:49 >>> :BUTTON-PRESS
11:06:49 find-window-by-parent!
11:06:49 <<< :BUTTON-PRESS
11:06:49 timeout: 4997/1000
11:06:49 >>> :NO-EXPOSURE
11:06:49 <<< :NO-EXPOSURE
11:06:49 timeout: 4997/1000
11:06:49 >>> :CONFIGURE-NOTIFY
11:06:49 CONFIGURE NOTIFY NIL #<XLIB:WINDOW :0 E00004> 580 0 50 16 1 NIL
11:06:49 <<< :CONFIGURE-NOTIFY
11:06:49 timeout: 1249/250
11:06:49 >>> :EXPOSURE
11:06:49 <<< :EXPOSURE
11:06:49 timeout: 999/200
11:06:49 >>> :CONFIGURE-NOTIFY
11:06:49 CONFIGURE NOTIFY NIL #<XLIB:WINDOW :0 E00004> 972 0 50 16 1 NIL
11:06:49 <<< :CONFIGURE-NOTIFY
11:06:49 timeout: 4993/1000
11:06:49 >>> :EXPOSURE
11:06:49 <<< :EXPOSURE
11:06:49 timeout: 624/125
11:06:49 >>> :NO-EXPOSURE
11:06:49 <<< :NO-EXPOSURE
11:06:49 timeout: 624/125
11:06:54 timeout: 44707/1000
11:06:54 >>> :UNMAP-NOTIFY
11:06:54 UNMAP: NIL T NIL
11:06:54 <<< :UNMAP-NOTIFY
11:06:54 timeout: 8941/200
11:06:54 >>> :EXPOSURE
11:06:54 <<< :EXPOSURE
11:06:54 timeout: 5588/125
--
Kresimir Kumericki http://www.phy.hr/~kkumer/