summaryrefslogtreecommitdiff
path: root/openbox
AgeCommit message (Collapse)Author
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.
2009-09-19Add all the action names used in 3.4 so configs don't breakMikael Magnusson
2009-09-19Merge branch 'backport' into workMikael Magnusson
Conflicts: openbox/actions/desktop.c openbox/client.c openbox/event.c openbox/extensions.c openbox/popup.c openbox/screen.c parser/parse.c
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-04Fix a typo in debug messageMikael Magnusson
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-20Close openbox.log when restartingMikael Magnusson
2009-02-20Merge branch 'backport' into workMikael Magnusson
Conflicts: openbox/config.c
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-29Merge branch 'backport' into workMikael Magnusson
Conflicts: openbox/event.c openbox/frame.c
2009-01-29Handle InputShape type shaping too.Mikael Magnusson
Many composite apps use this to pass through clicks where they are transparent.
2008-11-19Merge branch 'backport' into workMikael Magnusson
2008-11-19Only update the focus cycle indicator when already visible in frame.c to ↵Mikael Magnusson
avoid overriding bar=no
2008-11-15Another problem pointed out by clangMikael Magnusson
Using format specifiers without arguments in printf is still bad. openbox/debug.c:105:18: warning: format string is not a string literal (potentially insecure) fprintf(out, log_domain); ^~~~~~~~~~ openbox/debug.c:107:18: warning: format string is not a string literal (potentially insecure) fprintf(out, level); ^~~~~ openbox/debug.c:109:18: warning: format string is not a string literal (potentially insecure) fprintf(out, message); ^~~~~~~
2008-11-15Merge branch 'backport' into workMikael Magnusson
Conflicts: openbox/event.c
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-29Merge branch 'backport' into workMikael 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-27Merge branch 'backport' into workMikael Magnusson
Conflicts: openbox/client.c openbox/prop.c openbox/prop.h
2008-10-27No \n on ob_debug in this branch.Mikael Magnusson