Allow selecting menu entries during menuHideDelay if you click again, bug 5501
Make sure to reset all the GSource timer ids Avoids warnings like 'Source ID 8382 was not found when attempting to remove it'. In particular some removals were missing in menuframe.c resulting in a warning being printed every time a submenu was opened.
Make RaiseLower work for the dock as well As a side effect, _NET_RESTACK_REQUEST now also allows specifying the dock as the sibling.
Add keyboard/rebindOnMappingNotify option I have to switch to a qwerty layout to play steam games, and every time I switch back and forth, we lose some random bindings so I also had to reconfigure Openbox every time, now I don't.
Added missing break statement (Bug 6043)
Add a strict option to the ToggleShowDesktop action When the strict option is used, normal windows are not able to show themselves while showing the desktop.
Convert two // to /*
Remove unused variable
Select the menu item under the mouse when the mouse is moved (Fix bug 5237)
Ignore enters on windows that are raised over focused window while being mapped.
Fix crash on unexpected NET_WM_MOVERESIZE_CANCEL messages gtk+ 3.4 apparently sends these randomly when you select text in a GtkEntry. This also fixes bug #5460.
Propagate _NET_WM_WINDOW_OPACITY to the frame window (bug #5132)
Don't show prompts inside the message handler to prevent recursion Showing prompts causes messages to be created which causes the glib message handler to abort(). Save the messages and show them when done all other processing for the current event.
Fix focus stealing for changing desktops/Use timestamp for user input events Change the logic for when to allow stealing focus across desktops. - It was possible to call event_time_after() with a CurrentTime in the old code. - It would disallow a user requested change which is crazy. - It would change desktops on you when a new window appeared but this is generally not desirable. event_source_time() is supposed to give the time which the user made things happen. we leave it at 0 for user-input events right now which means stuff like changing desktop doesn't save any timestamp at all. we should use the timestamp from x for user-generated events.
Fix regression: hitting a key accel in a menu didn't move focus to the submenu
Show the submenu and move focus there with the enter key when the submenu isn't shown yet.
Move focus to a window when the mouse enters a window during a pointer grab, if using "focus under mouse" (Fixes bug #4617)
Make NET_ACTIVE messages always treated as from the user. Loosen up focus stealing for user-requested focusing. Seems panels such as xfce's and gnome's still treat their activation requests as being from an application when a user has requested it. Make the focus stealing code more lenient for user-requested focusings (_NET_ACTIVE). But treat new windows as not user-requested unless they gave a launch time. When activating a window, if another window would be the one to actually get focused, then activate that instead (avoid clicking a window in the panel and nothing happens).
Some versions of X, have the Shape extension, but apparently not "ShapeInput" (Fixes bug #4662) the sawfish window manager has ifdefs for this sort of situation. I followed suit, and #ifdef'd it, and it now works for me. patch attached. Slight changes to the patch from danakj@orodu.net for readability
if no launch time is provided for an application, make one up. if the window is related to other existing windows and one of those windows was the last used then we will give it a launch time equal to the last user time, which will end up giving the window focus probably. else the window is related to other windows, but you are not working in them? seems suspicious, so we will give it a launch time of NOW - STEAL_INTERVAL, so it will be given focus only if we didn't use something else during the steal interval. else the window is all on its own, so we can't judge it. give it a launch time equal to the last user time, so it will probably take focus. this way running things from a terminal will give them focus, but popups without a launch time shouldn't steal focus so easily.