summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-10-06Fix duplicate const warningDana Jansens
2012-10-06Fix some namings and xml formatting in rc.xml and rc.xsdDenis Kaganovich
2012-10-06When a window is the focus target and it is removed from the focus order, ↵Dana Jansens
reset the focus cycling (Fix bug 5410) We were only doing this if a dialog was showing. But if it's the target, then a dialog is not relevant, we should always recompute the focus cycling. This avoids a crash when not using a dialog and closing a window during cycling.
2012-10-06Fix negative ResizeRelative values with terminal windows (Fix bug 5228)Dana Jansens
Inspired by patches from Brian Mock <mock.brian@gmail.com>.
2012-10-06Get the window's title in the fake-managed case since we apply app rule ↵Dana Jansens
matching (Fix bug 5277)
2012-10-06Print error message to stderr (Fix bug 5731)Xin Wang
As stdout is redirected to /dev/null by some DMs, we need to print error messages to stderr.
2012-10-06Address a couple bugs in rc.xsd (Fix bug 5746)Denis Kaganovich
2012-10-06Make .desktop files obey specs where possible (Fix bug 5737)Julian Ospald
2012-10-06Allow windows created by execute actions to steal focus if the user isn't ↵Dana Jansens
interacting with another window (Fix bug 5419). When the execute action was run, we would say that the user had used the focused at that time. Then when a new window popped up, we'd think the user was busy in the current window and prevent the new one from steal focus. Now the execute action does not update the "user interacted with the focused window" timestamp anymore. So, if they aren't currently typing in some window when they trigger an execute action, and the window appears, it will steal focus.
2012-10-06Allow window matching based on the group leader's name and class (Fix bug 5721)Dana Jansens
In Openbox 3.4 we used the group leader's WM_CLASS value when it was available. This prevents windows in the group from overriding with a specific value, however which is bad. More rationale can be found in http://icculus.org/pipermail/openbox/2010-September/006790.html Some applications (eg. Firefox) use command line flags to set the WM_CLASS property on the group leader but do not change the property on the mapped windows themselves. This makes matching these windows not possible in Openbox 3.5. We resolve this by exposing the group's WM_CLASS values alongside the individual window's values. We add _OB_APP_GROUP_NAME and _OB_APP_GROUP_CLASS properties along with "groupname" and "classname" attributes for the rc.xml application tag.
2012-10-06Allow loading of menu files outside of your XDG_CONFIG_HOME (Fix bug 5711)Dana Jansens
When the given file name can not be found in your XDG_CONFIG_HOME, ie in ~/.config/openbox, then try the file name directly. This means if you specify a menu file such as "/home/dana/helloworld.xml", openbox will try, in order: 1) ~/.config/openbox/home/dana/helloworld.xml 2) /home/dana/helloworld.xml And it will load the file you meant when it tries the second one.
2012-10-06Make LeastOverlap placment replace the behaviour of Smart and address style nitsDana Jansens
2012-10-06LeastOverlap placement option (Fix bug 5385)Ian Zimmerman
Adds a new placement algorithm that finds a place on the monitor that overlaps the least amount of windows as possible. Original patch by Ian Zimmerman <itz@buug.org>. Port to Openbox 3.5 by David Vogt <dv@adfinis.c>.
2012-10-06Use the nearest monitor when the search query rect does not intersect any ↵Dana Jansens
monitor (Fix bug 5500) Previously we would try to find the primary monitor and use that when the search was outside any monitor. However, if the primary monitor is chosen by the mouse position and the mouse is not inside any monitor, we enter infinite recursion trying to find the primary monitor. The nearest monitor is a better metric anyhow, and this ensures screen_find_monitor() is never recursive as it always returns a value without depending on other screen.c methods.
2012-10-06Don't edge-warp with the cursor based on a monitor that does not contain the ↵Dana Jansens
pointer (Fix bug 4992)
2012-10-06Pick the monitor most relevant to a rectangle more cleverly.Dana Jansens
When monitors overlap (this happens with cloning), we were choosing a monitor to associate with a window, for maximization for example, somewhat arbitrarily. Now we have a more clever algorithm that considers the configured primary monitor first, and that does not prefer monitors based on their sizes, but only how much of the window is in the monitor, excluding parts that were claimed by another monitor already.
2012-09-30Theme button-specific values should fallback to the button general values ↵Hanno Meyer-Thurow
consistently (Fix bug 5443)
2012-09-30Prompt should not always use the currently focused button as its result (Fix ↵Dana Jansens
bug 5518)
2012-09-30Update manpage to current version. (Fix bug 5444)John Vogel
2012-09-30Don't strip leading whitespace from menu labels (Fix bug 4782)Dana Jansens
2012-09-30Create some Openbox release scriptsDana Jansens
release/bugs: Prints a list of bugs that are mentioned in git commits for a git revision, since previous release. - Very useful for updating the CHANGELOG file! release/go: Tests a git revision for correct compilation, and prepares files for release. - Makes the tarball - Makes a GPG signature for the tarball - Tags the release - Spits out URLs to edit and gives the changelog for copy/paste. release/email: Sends an email to the Openbox mailing list with the changelog and details about the release. Call this with the same parameters used for running release/go once it is finished, and the files are uploaded, etc. - Also emails mikachu re freshmeat.net
2012-09-30Allow client destroy notify functions to be removed based on the data ↵Dana Jansens
associated with them.
2012-09-30Fix prompt cleanup (was not going through the list correctly when freeing items)Dana Jansens
2012-09-30Select the menu item under the mouse when the mouse is moved (Fix bug 5237)Dana Jansens
2012-09-30Make ResizeRelative resize in terms of pixels for windows with resize ↵Dana Jansens
increments (Fix bug 5228) If the resize is less than the window's resize increment then we bump it up to ensure a resize does at least happen.
2012-09-30Make the inactive osd text color fall back to the old osd property, and ↵Dana Jansens
lastly inherit from the unfocused window color.
2012-09-30Allow an xml tag to be unregistered from the xml parser.Dana Jansens
2012-09-30Properly build path names for obt_paths_try_execDana Jansens
2012-09-30add menu_sort_entries() which sorts all entries in an ObMenuDana Jansens
this function sorts each group of entries that appear together between two consecutive separators (or ends of the list)
2012-09-30Add another BSEARCH function that lets you search through an array of objects.Dana Jansens
If you give it a value x, the macro lets you pull a value out of each object that you want to compare to x.
2012-09-30skip empty strings when splitting paths in the environmentDana Jansens
2012-09-30hide the menus before shutting them down on reconfigureDana Jansens
2012-09-30Fix for when the menu's update function returns FALSE and no menu is shown.Dana Jansens
The ObMenuFrame was not being freed, and the child pointer was being left pointing to the frame that was not visible.
2012-09-30Just put copyright starting year in README so we don't need to keep updating ↵Dana Jansens
it. Make --version match README.
2012-09-30Generate a fake leave event on actions that move windows (used to generate ↵Dana Jansens
another enter event?)
2012-09-30Link X into libobt (Fixes compile on debian).Dana Jansens
2012-09-30Ignore enters on windows that are raised over focused window while being mapped.Dana Jansens
2012-09-30Use the KeyCode to directly find the modifier mask. (Fix bug 5173)Dana Jansens
We were finding the KeySym first, and then converting back to a modifier mask. But KeySym on a key's release can differ from on its press, and we don't need them to determine the modmask from the keycode. [setxkbmap -option "grp:shifts_toggle"] turns Shift_L into XK_ISO_Prev_Group on key release, and Shift_R into XK_ISO_Next_Group.
2012-09-30Don't make desktop switching interactive when no mods used. (Fix bug #5203)Dana Jansens
Make mod state passing more consistent, and always give actions the full state instead of stripping sometimes. (They ended up expecting it stripped always).
2012-09-30Fix crash on unexpected NET_WM_MOVERESIZE_CANCEL messagesMikael Magnusson
gtk+ 3.4 apparently sends these randomly when you select text in a GtkEntry. This also fixes bug #5460.
2012-09-30Update german translationMario Blättermann
2012-08-15Fix bootstrapping, forgot to change WANT_AUTOMAKE to 1.11 in previous commitMikael Magnusson
2011-10-26Quiet build outbut on by defaultDana Jansens
2011-10-16Fix window width/height going less than 1 on some platforms (bug #5246)Dana Jansens
2011-10-16ignore .rej filesDana Jansens
2011-10-16Fix maximized windows and such after screen resizingsDana Jansens
2011-10-16Hear screen resizes when they don't change the root window (cloning)Dana Jansens
2011-10-16Check the return value for launching the startup command.Dana Jansens
Copy/paste error?
2011-10-16Fixes for gnome-session 3.Dana Jansens
We run by default with a panel (default gnome-panel) and then run Openbox without any panel if one cannot be found. - Adds a fallback session for if a panel (default gnome-panel) not found. - Removes notifications as a requirement. Seems to be a legacy thing judging from the ubuntu .session files. Notifications are being provided by notify-osd on modern systems, and you can't check for its presence in gnome-session (gnome-classic.session always fails because it looks for it, so ubuntu falls back to gnome-fallback.session).
2011-10-16Remove unused variableDana Jansens