summaryrefslogtreecommitdiff
path: root/openbox
AgeCommit message (Collapse)Author
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-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-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 some signed/unsigned warnings (and keep stuff within 80 columns).Dana Jansens
2009-11-06fix a crash in the SessionLogout actionDana Jansens
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.
2009-07-05Remove newline from startupnotify descriptionKrzysztof Kotlenga
It doesn't look good in some places, e.g. WnckTasklist (gnome-panel) [ Also update translations -- Mikael ]
2009-07-05Another debug message typoMikael Magnusson
2009-07-05Allow escaping _ in menu labels by putting __Mikael Magnusson
Currently you can't mark anything that comes after the __ with _ to make that a shortcut.
2009-07-05Don't trust xinerama not to return NULLMikael Magnusson
We check that xinerama is active already, but someone got a NULL here.
2009-07-05Don't draw borders in fullscreen mode when keepBorder is onHenning Bekel
2009-07-05Fix interpretation of struts with multiple screensGeoffrey Antos
According to the WM Specification, the left, top, right, and bottom fields are to be declared relative to the overall X screen dimensions, not the monitor dimensions. The example given in the spec (v1.3 or 1.4draft2) is: "Another example is a panel on a screen using the Xinerama extension. Assume that the set up uses two monitors, one running at 1280x1024 and the other to the right running at 1024x768, with the top edge of the two physical displays aligned. If the panel wants to fill the entire bottom edge of the smaller display with a panel 50 pixels tall, it should set a bottom strut of 306, with bottom_start_x of 1280, and bottom_end_x of 2303. Note that the strut is relative to the screen edge, and not the edge of the xinerama monitor." In my case, I have a 1680x1050 monitor to the left of a 1920x1200 monitor aligned at the top. I then have a gnome-panel along the bottom edge of the 1680x1050 monitor with a height of 24 pixels. xprop reports the following partial strut: _NET_WM_STRUT_PARTIAL(CARDINAL) = 0, 0, 0, 175, 0, 0, 0, 0, 0, 0, 0, 1679 which is correct according to the spec. Gnome-panel is reserving the 150 pixels along the bottom that aren't visible on the screen plus the 25 it requests for itself. However, maximizing a window on this monitor leaves a gap of exactly 150 pixels between the bottom edge of the maximized window and the top edge of the panel. Also, when the 1680x1050 monitor is the primary monitor (id=1) then the _NET_WORKAREA property on the root window is also off by 150px for the same reason. This patch fixes the two issues I mentioned for exterior monitor edges. It doesn't attempt to account for "interior" monitor edges (i.e. a 'left' strut on monitor A when monitor B is directly to the left of monitor A) because it's not possible to do so with the current strut specification (see http://mail.gnome.org/archives/wm-spec-list/2004-March/msg00004.html for a discussion on this limitation) This could be avoided by having the partial strut atom contain a xinerama screen ID that the strut applies to, but unfortunately the discussion all those years ago never got anywhere. [ quoted from bug #3792 ]
2009-07-04Show desktop switch popup on every monitorMikael Magnusson
This should be a satisfactory fix for #3694 I hope.
2009-07-04Give the popup to the timer remove so it does the right oneMikael Magnusson
Only the chroot popup uses delayed mapping so this is just a latent bug.
2009-07-04Add "prev" and "next" as possible targets for moveto/resizeto actions.Nico Golde
One of the Debian users asked if it's possible to send a window to other monitor when using xinerama, especially useful of you have 2 monitors and want to toggle a window to the other one. I wrote a patch that implements next and prev to also make that work for 3 or more workspaces.
2009-07-04client_validate should return FALSE only for UnmapNotifies that will cause ↵Dana Jansens
the window to become unmanaged
2009-07-03Show window role in the debug message for name/class too.Mikael Magnusson
2009-07-03Fix for #3715, app settings applied too late.Mikael Magnusson
This caused problems for placing windows with decor turned off, the placement code thought they had it on.
2009-03-29Avoid anonymous unionsMikael Magnusson
Some compilers, like sun studio and clang don't support them.
2009-02-20Fix per-app monitor settingMikael Magnusson
A couple of things were wrong, the parser added 1 to the value despite expecting the user to give values in the range of 1 to screen_num_monitors, rc.xml documented the values to start from 0 and finally the monitor value wasn't copied over at all when matching the client.
2009-01-29Handle InputShape type shaping too.Mikael Magnusson
Many composite apps use this to pass through clicks where they are transparent.
2008-11-19Only update the focus cycle indicator when already visible in frame.c to ↵Mikael Magnusson
avoid overriding bar=no
2008-11-15Use ngettext for %d desktop(s).Mikael Magnusson
This poses a small problem. We currently let translators reorder this string, but ngettext only takes one numeric argument. This means that you can either get correct pluralization or the order you want, but not both. I fixed up the languages I understand at a very basic level, but the rest will need translator assistance.
2008-11-10Fix a problem pointed out by clangMikael Magnusson
openbox/client.c:269:10: warning: incompatible pointer types passing 'gint *', expected 'guint32 *' if (!OBT_PROP_GET32(self->window, NET_WM_USER_TIME, CARDINAL, &user_time)) ^~~~~~~~~~~~~~
2008-11-05Don't move windows to current desktop on net_active_window if the event ↵Mikael Magnusson
didn't come from the user. Instead, just activate the flashy thinger.
2008-11-05Using format specifiers without arguments in printf is bad.Mikael Magnusson
2008-10-29Bring helper windows when following a window.Mikael Magnusson
2008-10-29_NET_WM_USER_TIME=0 means don't focus the new window.Mikael Magnusson
2008-10-27Show name/class when mapping in debug mode.Mikael Magnusson
2008-10-27Correct a 64-bit bug in event_time_afterMikael Magnusson
The code assumed the timestamps had the same domain as the type Xlib uses for them, which is almost never the case with Xlib. Change all involved variables to guint32.
2008-10-22Make sure the _MOTIF_WM_INFO atom exists.Mikael Magnusson
Without this, urxvt won't use motif hints for borderless mode.
2008-07-13Properly escape strings before writing XML.Nico Golde
2008-05-25Add a translators note about not translating the word "SessionLogout" in an ↵Mikael Magnusson
error message.
2008-04-23Fix typo introduced a few commits ago that made resizing windows hard.Mikael Magnusson
2008-04-15Don't use GrabModeSync, it hangs the xserver on chains sometimes.Mikael Magnusson
More or less a revert of 5bfa48dcffec3b00d119d851cb2427a43f80aa7b "Grab key bindings with GrabModeSync" See also bug #3582.
2008-04-15Show the resize popup right away.Mikael Magnusson
Previously, it would wait for a resize step before showing it, when resizing windows with resize increments that were bigger than the moveresize threshold.
2008-04-02Move "if"s out of the loop and rewrite the loop to use parse_find_node() to ↵Kadlcik Libor
search for "file".
2008-03-31Center the moveresize popup even when shaded.Mikael Magnusson
2008-03-08Remove double newlines.Mikael Magnusson