summaryrefslogtreecommitdiff
path: root/openbox
AgeCommit message (Collapse)Author
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
2008-03-08Don't run actions in focus cycling actions backwards either (as in ↵Mikael Magnusson
664b0b4e943ba4d410168817dcff953804b44253).
2008-03-08Don't draw titlebar buttons on top of eachother.Mikael Magnusson
2008-03-06don't set variables twiceDana Jansens
2008-03-06fix the check for if a relative is focused on mapDana Jansens
2008-03-06when a window pops up a child, don't avoid focusing it because you were ↵Dana Jansens
working in its parent window before this. that's probably what made the window appear in the first place
2008-03-03don't save our state for SmSaveGlobal session saves, just Local onesDana Jansens
2008-03-03use SmSaveGlobal to log out. this will make apps save their documents or ↵Dana Jansens
whatever so that you don't lose things, but it won't take a snapshot of the current session
2008-03-03Update french translation and fix a typo in actions/session.cCyrille Bagard
2008-03-02change the logout button to same capitilization as the title, and update ↵Dana Jansens
translatable strings
2008-03-02be consistent with logout vs log out useDana Jansens
2008-03-02show the kill dialog if something doesn't respond for 6 seconds instead of 3Dana Jansens
2008-03-02add a title to the session logout confirm promptDana Jansens
2008-03-02allow prompts to have titles specified. show a prompt when there are syntax ↵Dana Jansens
errors in the xml config files.
2008-03-02show an error message when parsing syntax errors are encountered in the ↵Dana Jansens
openbox config files
2008-03-02add a cleanup callback to the prompt interface. when the prompt's callback ↵Dana Jansens
returns TRUE, then the cleanup function is called. likewise when the prompt system is shutdown (openbox is exiting), then the cleanup function is also called. it should unref/destroy the prompt and any memory associated with it
2008-03-02the #ifdef was backwards for using SM or notDana Jansens
2008-03-02add a RECONFIGURING state, and enter that when doing reconfiguringDana Jansens
2008-03-02glib already prints a verbose error message when execute fails. don't add a ↵Dana Jansens
second level of useless verbosity to that
2008-03-02make code to show a prompt when you just want to display and message and not ↵Dana Jansens
do anything when the user presses the button
2008-03-02make the SessionLogout action always available but it shows an error if you ↵Dana Jansens
use it and Openbox wasn't built with SM support
2008-03-02don't steal focus from windows you are typing in, even if the new window is ↵Dana Jansens
a relative