[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbox
Subject:    [openbox] followMouse and resized windows
From:       openbox () gozer ! org (Mike Hokenson)
Date:       2008-04-07 15:14:54
Message-ID: 20080407151454.GA2402 () gozer ! dminteractive ! com
[Download RAW message or body]


On Saturday, March 01, 2008 at 05:03PM, Mikael Magnusson wrote:
>>>  Ah hm, it seems the code that handles app resizes unconditionally ignores
>>>  the enters, I think this patch will help
>>>
>>>  diff --git a/openbox/client.c b/openbox/client.c
>>>  index 816fa92..9db4e9f 100644
>>>  --- a/openbox/client.c
>>>  +++ b/openbox/client.c
>>>  @@ -3042,7 +3042,7 @@ void client_configure(ObClient *self, gint x, gint
>>>  y, gint w, gint h,
>>>       /* adjust the frame */
>>>       if (fmoved || fresized) {
>>>           gulong ignore_start;
>>>  -        if (!user)
>>>  +        if (!user && !config_under_mouse)
>>>               ignore_start = event_start_ignore_all_enters();
>>>
>>>           /* replay pending pointer event before move the window, in case
>>>  it
>>>  @@ -3051,7 +3051,7 @@ void client_configure(ObClient *self, gint x, gint
>>>  y, gint w, gint h,
>>>
>>>           frame_adjust_area(self->frame, fmoved, fresized, FALSE);
>>>
>>>  -        if (!user)
>>>  +        if (!user && !config_under_mouse)
>>>               event_end_ignore_all_enters(ignore_start);
>>>       }
>>
>> Yeah, that works, but I think you mean config_focus_under_mouse unless
>> the option names have changed in cvs.
>
> Ah right. Obviously I didn't test the patch myself :). Btw we haven't 
> used cvs in several years, using git now.

I don't see this patch in 3.4.7-pre3, is this behavior not going into
openbox or was it just missed?


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic