Mikael Magnusson
c716d1788b
Remove double newlines.
2008-03-08 17:41:52 +01:00
Mikael Magnusson
617effd275
Don't run actions in focus cycling actions backwards either (as in 664b0b4e94
).
2008-03-08 17:41:52 +01:00
Mikael Magnusson
5a45d4e7bc
Don't draw titlebar buttons on top of eachother.
2008-03-08 17:41:52 +01:00
Dana Jansens
ae0971659f
don't set variables twice
2008-03-06 02:44:58 -05:00
Dana Jansens
07f5240d8c
fix the check for if a relative is focused on map
2008-03-06 02:43:32 -05:00
Dana Jansens
3606a4af6f
when a window pops up a child, don't avoid focusing it because you were working in its parent window before this. that's probably what made the window appear in the first place
2008-03-06 02:35:26 -05:00
Dana Jansens
d394d8c613
don't save our state for SmSaveGlobal session saves, just Local ones
2008-03-03 17:00:17 +01:00
Dana Jansens
04c6d45ac0
use SmSaveGlobal to log out. this will make apps save their documents or whatever so that you don't lose things, but it won't take a snapshot of the current session
2008-03-03 17:00:00 +01:00
Cyrille Bagard
c5f01fd310
Update french translation and fix a typo in actions/session.c
2008-03-03 02:11:57 +01:00
Dana Jansens
20bd592f8b
change the logout button to same capitilization as the title, and update translatable strings
2008-03-02 18:34:28 -05:00
Dana Jansens
c24ae6c8eb
be consistent with logout vs log out use
2008-03-02 18:28:33 -05:00
Dana Jansens
bf9e118278
show the kill dialog if something doesn't respond for 6 seconds instead of 3
2008-03-02 17:29:44 -05:00
Dana Jansens
f542c5143a
add a title to the session logout confirm prompt
2008-03-02 17:19:39 -05:00
Dana Jansens
9d9ca8d1cf
allow prompts to have titles specified. show a prompt when there are syntax errors in the xml config files.
2008-03-02 17:12:11 -05:00
Dana Jansens
14f4a0ba56
show an error message when parsing syntax errors are encountered in the openbox config files
2008-03-02 16:40:40 -05:00
Dana Jansens
bb557f06a6
add a cleanup callback to the prompt interface. when the prompt's callback 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-02 16:13:23 -05:00
Dana Jansens
527ecafab9
the #ifdef was backwards for using SM or not
2008-03-02 16:04:28 -05:00
Dana Jansens
7ea56abf05
add a RECONFIGURING state, and enter that when doing reconfiguring
2008-03-02 15:40:11 -05:00
Dana Jansens
8562034e30
glib already prints a verbose error message when execute fails. don't add a second level of useless verbosity to that
2008-03-02 15:28:22 -05:00
Dana Jansens
b8960827b7
make code to show a prompt when you just want to display and message and not do anything when the user presses the button
2008-03-02 15:02:34 -05:00
Dana Jansens
ffaac4a650
make the SessionLogout action always available but it shows an error if you use it and Openbox wasn't built with SM support
2008-03-02 15:02:07 -05:00
Dana Jansens
6005365133
don't steal focus from windows you are typing in, even if the new window is a relative
2008-03-02 13:31:47 -05:00
Mikael Magnusson
664b0b4e94
Don't run actions in If in reverse order.
2008-03-02 13:49:40 +01:00
Mikael Magnusson
610e80e052
Super miniscule optimization.
2008-03-02 13:49:40 +01:00
Dana Jansens
e8ce4dbb8f
don't let you use left to go "up to parent" on menus which don't have any parent
2008-03-02 04:16:17 -05:00
Dana Jansens
fc085fd66c
make the prompt option default to 'true' for Exit and SessionLogout
2008-03-02 03:46:28 -05:00
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
Mikael Magnusson
835b2de913
Remove an unused variable.
2008-02-29 03:18:12 +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
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
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
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
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
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
1ef0d8eb53
Fixing bug from commit 041d17373e
...
Pressing a button and leave/enter would cause the button to show hover mode, not pressed mode. Change the behaviour back to how it used to be for pressing (the button stays pressed when you move outside of its box) and make it work correctly, as commit 041d17373e
also did for menus.
Reverting this behaviour because it seems impossible to do the enter/leave stuff correctly for the close button on maximized windows. Leaving the titlebar contexts doesn't give us an Enter event to go along with it, so even if we check all motion events, the button will flash unpressed when leaving the topright contexts.
2008-02-26 03:12:57 -05:00
Dana Jansens
dd97c9beac
change the buttons in the kill prompt from "yes/no" which can be a little confusing to be more clear "cancel/force exit" so people won't do the wrong thing by accident so much
2008-02-26 00:59:25 -05:00
Dana Jansens
14b422f9a3
show the desktop change popup before mapping/unmapping all the windows
...
this makes a big difference if the compmgr is being laggy trying to show windows
2008-02-25 22:16:58 -05:00