Commit graph

357 commits

Author SHA1 Message Date
Dana Jansens
31f0c8c1ad Merge branch 'backport' into work 2010-02-05 13:47:58 -05:00
Dana Jansens
2ab63cb36f make xdg-autostart use the OPENBOX environment by default, so you can say OnlyShowIn=OPENBOX in a .desktop and it will work as expected 2010-01-27 20:01:24 -05:00
Dana Jansens
14f8b4cb54 Fix bug #4492 better, the test in openbox-gnome-session needs to be inverted 2010-01-24 00:07:56 -05:00
Dana Jansens
6cf3357036 allow app rules to match windows by their title when mapping
and save the title in the _OB_APP_TITLE property
2010-01-14 18:41:21 -05:00
Dana Jansens
3bd4397b6e Merge branch 'backport' into work
Conflicts:

	openbox/frame.c
2010-01-14 16:19:57 -05:00
Dana Jansens
62e36ad041 Fixes bug #4492 (mis-using the return value of grep -q in openbox-gnome-session script 2010-01-12 14:29:23 -05:00
Dana Jansens
567fd15eeb Merge branch 'backport' into work
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-11 16:20:53 -05:00
Dana Jansens
91af4d5bc9 Add _OB_VERSION and _OB_APP_ROLE/CLASS/NAME/TYPE
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-11 13:42:50 -05:00
Dana Jansens
b3cc8f4876 allow application rules to place transient/dialog/splash windows, and allow application rules to match only on the role or type if you wish. 2010-01-10 22:15:27 +01:00
Dana Jansens
8c9fb63baa Rework the code provided by Kadlcik Libor for loading/showing icons in Openbox menus.
This changes how the imagecache works, you can load an image into it directly,
or you can load it by name (then it will load it from a file on disk).

NOTE: The name part is incomplete, as it needs to use the freedesktop.org icon
spec to search for the right file.  Also to resize it should look for another
icon on disk with the same name but different size (icon themes).
2010-01-08 17:55:19 -05:00
Dana Jansens
73575c10ce Merge branch 'backport' into work
Conflicts:

	Makefile.am
	openbox/actions/focus.c
	openbox/config.c
	openbox/event.c
	openbox/menuframe.c
2010-01-08 10:22:30 -05:00
Dana Jansens
e8588737c9 Allow infinite delay for submenu show/hide by using a negative value. 2010-01-06 17:13:03 -05:00
Dana Jansens
b88cf22bc0 Some fixes for the submenu hide delay code
When nothing in a menu is selected, go back to selecting the open submenu.
Adjust the LeaveNotify event handling to only respond when there is not a
  EnterNotify coming for the same menu frame.
Change the default submenu show/hide delays.
Have the default values for submenu show/hide match the default rc.xml
2010-01-06 17:13:03 -05:00
Alexey Korop
8968b38338 improve submenu hide delay 2010-01-06 17:13:03 -05:00
Dana Jansens
c6370aa48a fix a broken if statement (bug #4464) 2010-01-05 21:37:58 -05:00
Dana Jansens
4f414ed0f1 Set the XDG_MENU_PREFIX to "kde-" when running an Openbox/KDE session. 2010-01-02 15:49:39 -05:00
Dana Jansens
a03b817aeb Merge branch 'backport' into work 2009-12-21 10:43:38 -05:00
Dana Jansens
b7393636e0 make a config option for the inactive osd font 2009-12-21 10:43:30 -05:00
Dana Jansens
6d8b7bd5f7 Rename obprop to obxprop (Fixes bug #4419)
Avoids collision with openbabel.
2009-12-21 09:59:28 -05:00
Dana Jansens
ad812e6299 Add a focus option, unfocusOnLeave that removes focus from a window when the pointer leaves it
This uses the same delay to unfocus as is used for focusing on enter
2009-12-18 11:40:00 -05:00
Dana Jansens
82ac248145 Add some directional focus bindings to the default config file. 2009-12-17 10:24:06 -05:00
Dana Jansens
a93b00a5e9 Merge branch 'backport' into work 2009-12-14 15:25:57 -05:00
Dana Jansens
5fc18091be In the applications section tell the user to use _OB_* properties for the name/class/role, and refer to the still-non-existant obprop tool. 2009-12-14 11:27:50 -05:00
Dana Jansens
acafa38c8e Merge branch 'backport' into work
Conflicts:
	openbox/config.c
	openbox/event.c
	openbox/prop.c
	openbox/prop.h
	openbox/screen.c
	openbox/screen.h
2009-12-11 19:02:11 -05:00
Dana Jansens
7e6ef2683f Run Openbox with gnome-session the proper way, without using the deprecated gnome-wm.
See https://bugzilla.gnome.org/show_bug.cgi?id=555406#c5
Hopefully this continues to work for a while.
2009-12-10 11:47:12 -05:00
Dana Jansens
c5155e7422 Add an openbox.desktop file for the applications/ directory
This is for gnome-session to start Openbox correctly as the window manager
See the commit log for http://cvs.fedoraproject.org/viewvc/devel/openbox/openbox.desktop?revision=1.3&view=markup
2009-12-10 10:27:54 -05:00
Dana Jansens
d17bc61b24 Don't need 2 exit actions in the default menu now, they both would do the same thing 2009-12-10 10:10:03 -05:00
Dana Jansens
f0df9bb9d8 Remove desktop hints since Openbox won't overwrite them, but they may be set from GDM or other sessions 2009-12-10 10:07:50 -05:00
Dana Jansens
aa329719b9 Add a primaryMonitor config option, where the focus-cycle and keychain popups will appear 2009-12-09 16:41:52 -05:00
Dana Jansens
e0015160f0 Make the default placement on the active monitor (Any is madness) 2009-12-09 15:41:28 -05:00
Dana Jansens
5290af9f50 Use test -r instead of test -e for solaris. Fixes bug #4253. 2009-12-09 10:23:37 -05:00
Dana Jansens
4e0a4fb53b Make openbox-gnome-session work with gnome-session > 2.22 2009-12-08 15:52:07 -05:00
Mikael Magnusson
a92c209fc1 Merge branch 'backport' into work 2009-09-20 16:03:48 +02:00
Piotr Lewandowski
abf3660f84 Respect $XDG_CONFIG_HOME in openbox-session 2009-09-20 15:40:38 +02:00
Mikael Magnusson
308478e4a5 Merge branch 'backport' into work
Conflicts:
	openbox/actions/desktop.c
	openbox/client.c
	openbox/event.c
	openbox/extensions.c
	openbox/popup.c
	openbox/screen.c
	parser/parse.c
2009-09-19 15:03:12 +02:00
Mikael Magnusson
08aa5bf04e Make at least the default configs validate
More things need to be case insensitive and whatnot.
2009-04-15 18:18:16 +02:00
Mikael Magnusson
6d0c4d7fad Merge branch 'backport' into work
Conflicts:
	openbox/config.c
2009-02-20 17:44:16 +01:00
Mikael Magnusson
271e0fd9c8 Fix per-app monitor setting
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-02-20 17:41:34 +01:00
Mikael Magnusson
e6fea24575 Merge branch 'backport' into work
Conflicts:
	openbox/client.c
	openbox/prop.c
	openbox/prop.h
2008-10-27 00:58:56 +01:00
Mikael Magnusson
1f194d6d1f 0 is the first monitor here, not 1. 2008-09-14 13:56:13 +02:00
Mikael Magnusson
d78ae0546d Merge branch 'backport' into work
Conflicts:

	openbox/session.c
2008-03-03 17:10:53 +01:00
Dana Jansens
40996c42b3 add xfce-settings-show to the default menu 2008-03-03 17:00:17 +01:00
Dana Jansens
4b5373f609 Merge branch 'backport' into work 2008-03-02 18:36:32 -05:00
Dana Jansens
c24ae6c8eb be consistent with logout vs log out use 2008-03-02 18:28:33 -05:00
Dana Jansens
37705f444e Merge branch 'backport' into work
Conflicts:

	openbox/actions/all.h
	openbox/event.c
	openbox/prompt.c
2008-03-02 04:19:05 -05:00
Dana Jansens
6ca53a625d add cups manager to the default menu 2008-03-02 04:10:47 -05:00
Dana Jansens
9089156780 add SessionLogout to the default menu, add a system submenu with common configuration tools in it (obconf, g-control-center, kcontrol) 2008-03-02 03:46:28 -05:00
Dana Jansens
435df32acc Merge branch 'backport' into work 2008-03-01 01:22:37 -05:00
Dana Jansens
fd34bcf71a fix the menu's command for urxvt 2008-03-01 01:16:34 -05:00
Mikael Magnusson
173b9b7648 Merge branch 'backport' into work
Conflicts:

	openbox/client.c
	openbox/screen.c
2008-02-29 04:21:02 +01:00