Commit graph

7310 commits

Author SHA1 Message Date
Dana Jansens
4d09821730 add a SessionLogout action 2008-03-02 03:46:22 -05:00
Dana Jansens
b20ef1556a remove some debug prints 2008-03-01 11:45:33 -05:00
Dana Jansens
a47d0a5365 queue hooks so that they don't run as each thing happens, instead run them at the end. keep the openbox code paths fast. 2008-03-01 01:52:38 -05:00
Dana Jansens
93a38d46bf make it $pid and $wid, it's a little faster this way and they look the same so why not 2008-03-01 01:30:29 -05:00
Dana Jansens
435df32acc Merge branch 'backport' into work 2008-03-01 01:22:37 -05:00
Dana Jansens
26cd4d19d4 move some code around in the execute action 2008-03-01 01:21:55 -05:00
Dana Jansens
fd34bcf71a fix the menu's command for urxvt 2008-03-01 01:16:34 -05:00
Dana Jansens
94d41260a0 instead of passing things to the environment, substitute $pid and $window inline in the Execute command string 2008-03-01 01:05:14 -05:00
Dana Jansens
94c60ba74e pass the targeted window's PID (if available) and WINDOW_ID to the environment of the Execute action 2008-03-01 00:18:33 -05:00
Dana Jansens
a1908e0767 always send the exact client to the hook's actions that the hook fired for 2008-03-01 00:09:20 -05:00
Dana Jansens
dc2e6f6bf7 Get hooks working 2008-03-01 00:04:28 -05:00
Dana Jansens
985e7dadf9 change some of the hooks, and add all the hooks to the code so that they run 2008-02-29 23:40:02 -05:00
Dana Jansens
db781556d6 Add a hook system. They hooks don't run yet but they parse from the config file. 2008-02-29 23:37:57 -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
Dana Jansens
9d1bb266ee render depends on obt, so make/install it first (fixes making deb package from it) 2008-02-28 21:40:46 -05:00
Mikael Magnusson
835b2de913 Remove an unused variable. 2008-02-29 03:18:12 +01:00
Og Maciel
55cfb7496c Update brasilian portuguese translation. 2008-02-28 23:42:03 +01:00
Mikael Magnusson
ab089515ef Update po/ with new strings, and update swedish translation.
Also add an overly long comment about translating FILE in the help output.
2008-02-28 23:20:49 +01:00
Mikael Magnusson
323df7cbc2 Very inconsequential changes. 2008-02-28 20:57:33 +01:00
Mikael Magnusson
017d956444 Free copied glists when removing desktops. 2008-02-28 20:57:05 +01:00
Dana Jansens
3700861805 make a nicer default menu with a lot of common apps in it 2008-02-28 12:37:25 -05:00
Dana Jansens
a4a1a667fc If a window is maximized and has FUNC_MAXIMIZE disabled, still let it unmaximize. When normal hints change and we reconfigure, the w/h of the window may not have changed - rather the minw/maxh etc may have changed. So in client_try_configure always run through the code that checks them to see if the client should be resized or whatever. 2008-02-28 12:31:36 -05:00
Mikael Magnusson
7a6485e4bb Update send-to-desktop menu in the client menu when ctrl-clicking and the client is still visible, ie toggling omnipresent.
Also indicates which is the current desktop by moving the omnipresent
icon to it when the window is omnipresent. Do some refactoring and
cleanup so the net change is removal of lines, go me.
2008-02-28 17:54:49 +01:00
Mikael Magnusson
2f1dc6da00 Try to fix the off-by-one errors even more. 2008-02-28 12:42:40 +01:00
Dana Jansens
ff0f8dc6a9 fix some off-by-one errors in edge finding for moving and resizing windows (bug 3506) 2008-02-28 01:20:20 -05:00
Mikael Magnusson
163950b23b Merge branch 'backport' into work
Conflicts:

	Makefile.am
2008-02-28 06:20:50 +01:00
Mikael Magnusson
f857b0eb99 Simplify client_set_state. 2008-02-28 06:18:33 +01:00
Dana Jansens
dbbbbb7d48 When showing a window's title in the kill prompt, if it doesn't have a title use its parent's (same way the focus cycle popup does) 2008-02-27 23:11:08 -05:00
Dana Jansens
573bbb08a6 add the autostart.sh.in to the dist targz instead of the autostart.sh 2008-02-27 22:46:44 -05:00
Dana Jansens
40c014faf1 include the xdg-autostart script in the dist targz 2008-02-27 22:44:22 -05:00
Dana Jansens
1018b836c4 clean up the execute action code, and free the prompt option string 2008-02-27 22:19:59 -05:00
Dana Jansens
92f23264c7 change the yes/no buttons to Exit/Cancel for the exit prompt 2008-02-27 22:14:11 -05:00
Dana Jansens
da889f0365 set the right version in the new render and obt .pc files 2008-02-27 21:13:45 -05:00
Dana Jansens
deb5ef6243 obrender uses obt now, there is no obparser anymore 2008-02-27 21:09:19 -05:00
Dana Jansens
8bd02bf4b8 Merge branch 'backport' into work
Conflicts:

	openbox/actions/execute.c
2008-02-27 21:07:10 -05:00
Dana Jansens
fbacc56d9d some new translated strings 2008-02-27 21:04:04 -05:00
Dana Jansens
2c8bc0c904 add a boolean <prompt> option to the Exit action, which will ask before exiting openbox 2008-02-27 20:59:17 -05:00
Dana Jansens
94e339496c Give the Execute action the <prompt> option 2008-02-27 20:59:15 -05:00
Dana Jansens
26cc41f6c6 Merge branch 'backport' into work 2008-02-27 19:37:48 -05:00
Dana Jansens
b1dc814128 make the xdg-autostart script get installed to PREFIX/lib/openbox, and make the autostart.sh script look for it there. 2008-02-27 19:36:48 -05:00
Mikael Magnusson
22a88cfe99 Merge branch 'backport' into work
Conflicts:

	openbox/client.c
	openbox/event.c
	openbox/event.h
2008-02-27 02:34:08 -05:00
Mikael Magnusson
e35a4697a7 Update po files with new strings, update swedish translation. 2008-02-27 04:58:12 +01:00
Dana Jansens
490ef3213a Change the kill prompt buttons to "Cancel" and "End Process"/"Disconnect" (for local/remote apps) 2008-02-26 22:32:20 -05:00
Mikael Magnusson
c38a756ae5 Fix some typos and style in client.c, and add a comment.
Also moves a comment from many places into one place.
2008-02-27 04:34:35 +01:00
Mikael Magnusson
7753be1cb6 Make "Unnamed Window" translatable. 2008-02-27 04:34:35 +01:00
Mikael Magnusson
c11a7c3ce1 Pass TRUE instead of FALSE to do what the comment says. 2008-02-27 04:34:35 +01:00
Mikael Magnusson
04bf68c2ac Various cleanups of event.c
Typo in debug message.
Improve some comments.
Space after comma.
Factor out compress_client_message_event.
Fold two ifs together.
Change duplicated case to fall through.
2008-02-27 04:34:31 +01:00
Mikael Magnusson
ab9233ddb1 Refactor the event handling for titlebar buttons a bit. 2008-02-27 04:20:21 +01:00
Dana Jansens
120bab667f add xce-mcs-manager to the autostart.sh - run it if gsd is not found 2008-02-26 21:17:26 -05:00
Dana Jansens
7e47a57027 Merge branch 'backport' into work 2008-02-26 03:15:21 -05:00