summaryrefslogtreecommitdiff
path: root/openbox/screen.c
AgeCommit message (Collapse)Author
2010-01-14allow app rules to match windows by their title when mappingDana Jansens
and save the title in the _OB_APP_TITLE property
2010-01-11Merge branch 'backport' into workDana Jansens
Conflicts: configure.ac data/rc.xml openbox/client.c openbox/event.c openbox/focus_cycle.c openbox/focus_cycle_popup.c openbox/openbox.c openbox/prop.c openbox/prop.h openbox/screen.c parser/parse.c version.h.in
2010-01-11More work on refreshing the focus cycle dialog when windows are ↵Dana Jansens
added/removed from the valid focus order
2010-01-11Add _OB_VERSION and _OB_APP_ROLE/CLASS/NAME/TYPEDana Jansens
Add _OB_VERSION property on the root window. Change _OB_ROLE/CLASS/NAME to _OB_APP_*. Add _OB_APP_TYPE which has a string for the type chosen for the window on mapping by Openbox. Adjust the rc.xml to match these changes.
2010-01-11Redraw the focus cycle popup when the list of focusable windows changes, ↵Dana Jansens
rather than closing it
2009-12-21Set up work for making a 3.5 prerelease.Dana Jansens
Set version stuff to 3.5.0-rc1. Copy the CHANGELOG from 3.4-working. Rename the obt-4.0 and obrender-4.0 pkgconfig stuff to obt-3.5 and obrender-3.5 Rename the "render" directory to "obrender" so that the public headers can be installed in <obrender/*>
2009-12-18Merge branch 'backport' into workDana Jansens
Conflicts: openbox/screen.c
2009-12-18Show the desktop popup as long as the interactive desktop switch is activeDana Jansens
2009-12-17Hide the focus popup if we change desktops and one of the windows in it ↵Dana Jansens
disappears
2009-12-17Don't move focus away from a window if it was focused and it didnt hide when ↵Dana Jansens
switching desktops
2009-12-17Merge branch 'backport' into workDana Jansens
2009-12-17Make the relative desktop switching actions interactiveDana Jansens
The desktop popup can now be shown "permanently" in which case it stays until you tell it to hide.
2009-12-16Calculate the work area using other already existing and better maintained ↵Dana Jansens
and trusted code
2009-12-16Merge branch 'backport' into workDana Jansens
Conflicts: obt/keyboard.c obt/keyboard.h openbox/event.c openbox/menuframe.c openbox/moveresize.c openbox/openbox.c openbox/screen.c
2009-12-15Make the NET_WORKAREA hint work the way it used to, across all monitorsDana Jansens
The spec is not going to change this hint, but rather add a new one. So for now just revert to the old behaviour.
2009-12-14Let menus place themselves on monitors where the mouse is not presentDana Jansens
This fixes a bug which forced menus to show up on the same monitor as the mouse pointer.
2009-12-11Merge branch 'backport' into workDana Jansens
Conflicts: openbox/config.c openbox/event.c openbox/prop.c openbox/prop.h openbox/screen.c openbox/screen.h
2009-12-11Set hints that remember the WM_WINDOW_ROLE and WM_CLASS properties for our ↵Dana Jansens
users. The hints are _OB_ROLE, _OB_NAME, and _OB_CLASS.
2009-12-09Make the desktop popup show on the primary monitor as defined in the config.Dana Jansens
This matches the behaviour of the focus cycle and key chain popups.
2009-12-09Revert "Show desktop switch popup on every monitor"Dana Jansens
This reverts commit 2e1adce628ee3234accc5d88cafb57672800cae0.
2009-12-09Revert "Some fixes for the pager popups, and avoid a crash if you destroy a ↵Dana Jansens
popup while it is going to be shown later by a delay." This reverts commit 33328583a143677d27eb3d081ce66532c3aaca1c.
2009-12-09Add a primaryMonitor config option, where the focus-cycle and keychain ↵Dana Jansens
popups will appear
2009-12-09Bug in choosing the active monitor when doing a move/resizeDana Jansens
2009-12-09When moving focus across desktops, make sure Openbox doesn't think that a ↵Dana Jansens
window which is no longer visible is still focused.
2009-11-21Merge branch 'backport' into workDana Jansens
Conflicts: openbox/popup.c
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-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-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-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.
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-03-02Merge branch 'backport' into workDana Jansens
Conflicts: openbox/actions/execute.c openbox/event.c openbox/openbox.c openbox/openbox.h
2008-03-02add a RECONFIGURING state, and enter that when doing reconfiguringDana Jansens
2008-03-01queue hooks so that they don't run as each thing happens, instead run them ↵Dana Jansens
at the end. keep the openbox code paths fast.
2008-02-29change some of the hooks, and add all the hooks to the code so that they runDana Jansens
2008-02-29Merge branch 'backport' into workMikael Magnusson
Conflicts: openbox/client.c openbox/screen.c
2008-02-28Very inconsequential changes.Mikael Magnusson
2008-02-28Free copied glists when removing desktops.Mikael Magnusson
2008-02-26Merge branch 'backport' into workDana Jansens
2008-02-25show the desktop change popup before mapping/unmapping all the windowsDana Jansens
this makes a big difference if the compmgr is being laggy trying to show windows
2008-02-18Merge branch 'backport' into workDana Jansens
Conflicts: openbox/grab.c openbox/keyboard.c
2008-02-17Add a comment for translators about how to change order of arguments.Mikael Magnusson
2008-02-13Fix a minor issue with lastdesktop right after startup.Mikael Magnusson
2008-02-09Merge branch 'backport'Dana Jansens
2008-02-09Fix a minor issue with lastdesktop right after startup.Mikael Magnusson
2008-02-08Don't bother setting screen_last_desktop here, it's inited in screen_startup ↵Mikael Magnusson
anyway.
2008-02-02Merge branch 'backport' into workDana Jansens
Conflicts: openbox/client.c openbox/event.c openbox/mouse.c openbox/openbox.c openbox/prop.c openbox/prop.h openbox/screen.c parser/parse.c parser/parse.h