summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2011-10-16respect the active/mouse options for monitor placement, and use ↵Dana Jansens
ObMonitorPlace for per-app too
2011-10-16Allow per-app settings to pick a monitor for a window without choosing a ↵Dana Jansens
position in it.
2011-10-16Add "active" and "primary" options to the <monitor> placement option for ↵Dana Jansens
per-app settings (bug #5180)
2011-10-16make undecorated windows place according to their undecorated state (bug #5179)Dana Jansens
splits client_setup_decor_and_functions() into 3 functions. 1. add client_setup_default_decor_and_functions() - called from client_get_all() to get the maximum decor/functions that will be available for use by the client. 2. add client_setup_decor_undecorated() - sets up the client's undecorarted decor if the flag is set by the per-app settings or session state. - we do this before setting up the frame so the frame reflects the window as it should be when getting placed. 3. client_setup_decor_and_functions() - calls the above 2 to perform the same functions as before. - added to client_apply_startup_state() so that we can ensure it was run fully at least once in the mapping process, since it is not called in client_get_all() anymore.
2011-10-16it would seem this cannot return NULL nowDana Jansens
It will get the primary monitor if there is not monitor under the pointer. But assert so it's clear something went wrong if this does happen. Note that there was previously no check for the return value even though the comment claimed there should be.
2011-10-16Link libobt into libobrender, as it uses things from libobt (bug #5150)Fryderyk Dziarmagowski
libobrender uses ObtPaths stuff, so it needs to link in libobt.
2011-10-16Propagate _NET_WM_WINDOW_OPACITY to the frame window (bug #5132)Dana Jansens
2011-10-16Strip leading/trailing whitespace when parsing colors and other strings (bug ↵Dana Jansens
#4937)
2011-10-16free undecorated border colorsDana Jansens
2011-10-16Specific border width/color for undecorated active/inactive windows (bug #4889)Carlos Pita
The attached patch adds three theme options with backward compatible defaults: undecorated.border.width defaults to border.width window.undecorated.active.border.color defaults to window.active.border.color window.undecorated.inactive.border.color defaults to window.inactive.border.color
2011-10-16Fix crash when keyboard map changes and no keybindings exist.Dana Jansens
Don't assume old tree is non-null and start rebinding it.