summaryrefslogtreecommitdiff
path: root/openbox
AgeCommit message (Collapse)Author
2009-12-17Make it possible for an action name to choose whether it is interactive or ↵Dana Jansens
not based on its options. This way we can use the same name with options for an interactive action and a non-interactive action. Shorten the names of the ObActionsInteractive* functions to ObActionsI* Add a ObActionsIPreFunc that is called for interactive actions before the interactivity (key/mouse grab) is started. Add a ObActionsIPostFunc that is called for interactive actions after the interactiviti (key/mouse grab) has ended.
2009-12-16Calculate the work area using other already existing and better maintained ↵Dana Jansens
and trusted code
2009-12-16Fix resistance against struts, the resistance was always 0Dana Jansens
2009-12-16Merge branch 'backport' into workDana Jansens
Conflicts: obt/keyboard.c obt/keyboard.h openbox/event.c openbox/menuframe.c openbox/moveresize.c openbox/openbox.c openbox/screen.c
2009-12-16Fix the delayed hiding of submenus, so that they don't end up hidden while ↵Dana Jansens
the entry is selected
2009-12-16Ignore enter events caused by closing openbox menusDana Jansens
2009-12-15Make the NET_WORKAREA hint work the way it used to, across all monitorsDana Jansens
The spec is not going to change this hint, but rather add a new one. So for now just revert to the old behaviour.
2009-12-14Don't hide submenus immediately when unselecting the parent's entryDana Jansens
This allows users to move to the submenu across other menu items (the same as they already could across other menu items that were submenus). This uses the same config delay for hiding submenus as it does for showing new ones. Based off the ideas in bug #3762.
2009-12-14Let menus place themselves on monitors where the mouse is not presentDana Jansens
This fixes a bug which forced menus to show up on the same monitor as the mouse pointer.
2009-12-14Allow the user to bind more than one keycode to a keysym for Ob ↵Dana Jansens
Menus/Move/Resize If the user has escape bound to more than one keycode then they can use any of them to close a menu. This change applies to the hardcoded keys in openbox, which are used for the menus and for move/resize, and maybe other places.
2009-12-11Merge branch 'backport' into workDana Jansens
Conflicts: openbox/config.c openbox/event.c openbox/prop.c openbox/prop.h openbox/screen.c openbox/screen.h
2009-12-11Set hints that remember the WM_WINDOW_ROLE and WM_CLASS properties for our ↵Dana Jansens
users. The hints are _OB_ROLE, _OB_NAME, and _OB_CLASS.
2009-12-10Get the session client id from new gnome-sessionDana Jansens
See http://live.gnome.org/SessionManagement/GnomeSession#A1._Launch Gnome-session sets the DESKTOP_AUTOSTART_ID env variable with the SM client id instead of passing it on the command line.
2009-12-10Make sure popup dialogs are not waiting to be shown after they are freedDana Jansens
2009-12-09Make the desktop popup show on the primary monitor as defined in the config.Dana Jansens
This matches the behaviour of the focus cycle and key chain popups.
2009-12-09Revert "Show desktop switch popup on every monitor"Dana Jansens
This reverts commit 2e1adce628ee3234accc5d88cafb57672800cae0.
2009-12-09Revert "Some fixes for the pager popups, and avoid a crash if you destroy a ↵Dana Jansens
popup while it is going to be shown later by a delay." This reverts commit 33328583a143677d27eb3d081ce66532c3aaca1c.
2009-12-09Add a primaryMonitor config option, where the focus-cycle and keychain ↵Dana Jansens
popups will appear
2009-12-09Bug in choosing the active monitor when doing a move/resizeDana Jansens
2009-12-09Make the edge detection fully include monitor edges.Dana Jansens
This fixes the move-to-edge behaviour, when moving past the edge of a monitor, the window will stop with its tail edge against the inside of the monitor's edge.
2009-12-09Properly react when a client's strut changes.Dana Jansens
Previously it would only react if the height of the strut changed, not if its start/end changed (that was a long-standing bug).
2009-12-09Fix the Focus/Activate actions to focus windows on other desktops correctlyDana Jansens
2009-12-09When moving focus across desktops, make sure Openbox doesn't think that a ↵Dana Jansens
window which is no longer visible is still focused.
2009-12-09The colormap is being set twice when moving focus to the root windowDana Jansens
2009-12-09Add a focus debug message for the frame's visible focus stateDana Jansens
2009-12-09Fully maximized windows still have a normal titlebar. Fixes bug #4373Dana Jansens
Also, maximized windows were having their client padding reduced by the size of the outer border from this same bug, which is now fixed.
2009-12-09Allow skip_taskbar windows to be focused on map when the user requests it in ↵Dana Jansens
rc.xml. Fixes bug #4350
2009-12-09Set a minimum value for the screenEdgeWarpTime for 25ms.Dana Jansens
When this is very small it just gives X/Openbox a heart attack and ends up going forever. Even 25 is quite too fast to be usuable so it should be a good minimum.
2009-12-09Fix stacking for transients vs helper windows. Fixes bug #3851Dana Jansens
This allows transient windows to be above helper windows. And generally keeps helper windows below transients, unless they are raised directly.
2009-12-08Merge branch 'backport' into workDana Jansens
Conflicts: openbox/actions/all.h openbox/actions/session.c openbox/client.c openbox/event.c openbox/grab.c
2009-12-08Don't hilite new windows when we're restoring them from a saved session.Dana Jansens
2009-12-08Fix client_activate() to work for internal Openbox menusDana Jansens
client_activate() is a helpful way to focus a window on another desktop, but only Openbox is allowed to do such things, user messages cannot.
2009-12-08Don't kill keygrabs when focus moves.Dana Jansens
Applications should be better behaved by now, and GTK based apps seem to be at least. We can file bug reports with them if we need to still.
2009-12-08Change _net_active_window behaviour.Dana Jansens
Move focus on _net_active_window "app" requests if focus stealing would be allowed. If focus is not given to the target window and it is hilited (or any other situation where it is hilited) and the window is on another desktop, then also raise it and make it the LRU window, so when you switch desktops you go right to it.
2009-12-08Add needed linebreaks to the end of some debug messagesDana Jansens
2009-11-24Combine the Exit and SessionLogout actionsDana Jansens
Just "do the right thing" based on if you are connected to a session manager or not.
2009-11-21Merge branch 'backport' into workDana Jansens
Conflicts: openbox/popup.c
2009-11-21Don't ever give borders to windows that didnt have them before by making ↵Dana Jansens
them "undecorated" with the keepborder config option on. This fixes what commit 85f39cd27e7ea0eec8bc78f6139092b44fda2dad fixed for the fullscreen window case, but also fixes bug #4344.
2009-11-21Add a comment for commit ec9fbf05df3ac807d60ae6af36236ffc6567bbdc regarding ↵Dana Jansens
struts with multiple monitors.
2009-11-21Some fixes for the pager popups, and avoid a crash if you destroy a popup ↵Dana Jansens
while it is going to be shown later by a delay.
2009-11-21Fix an unsigned/signed warning.Dana Jansens
2009-11-21Fix some signed/unsigned warnings (and keep stuff within 80 columns).Dana Jansens
2009-11-21Fix spacing from 8f37a97a4cc29d35f6a632ef2f71ac760e301ee5Dana Jansens
2009-11-21Revert "Revert "make windows stay on screen when..."Dana Jansens
Just kidding. This doesn't revert d81d54c7a977a034199f24fc8fa7433e634aaf91 but it redoes the work that patch reverted in a better, less intrusive, way.
2009-11-21Revert all commits for the Hooks feature to move it to a topic branch.Dana Jansens
This reverts commit fd2f617be7ff57fcb187daa737f66d243544c8cd. This reverts commit a47d0a53652a96ca1df96fc9268757df1431ae55. This reverts commit a1908e076736e1a618bd305c5963dbfecaa30497. This reverts commit dc2e6f6bf7143a56de360a393b33906735e63625. This reverts commit 985e7dadf9a3ebf4bd265d955c3198e96405e5d2. This reverts commit db781556d63d1a50bd1b1b4b6b5423ef703bf2c7. This reverts commit feec8f663f0a11546c2da87575fecc8a88d97ca1.
2009-11-07Make clang happierMikael Magnusson
Add asserts to default: in switch statements Store pointed to variables locally so it knows they don't change Remove some dead assignments Mark ob_exit_with_error as noreturn Use "%s", msg instead of just msg to printf style functions Use the c_pfocus variable
2009-11-06Merge branch 'backport' into workDana Jansens
2009-11-06fix a crash in the SessionLogout actionDana Jansens
2009-09-20Merge branch 'backport' into workMikael Magnusson
2009-09-20Reload motif wm hints when property changesMikael Magnusson
Google's chrome does this when you toggle window decorations. Based on patch in #4250 by Daniel Erat.