mikachu/openbox.git
11 years agoMerge branch 'backport' into 3.4-working release-3.4.7-pre2
Dana Jansens [Sun, 2 Mar 2008 23:11:45 +0000 (18:11 -0500)]
Merge branch 'backport' into 3.4-working

11 years agoadd the new translatable strings
Dana Jansens [Sun, 2 Mar 2008 23:09:08 +0000 (18:09 -0500)]
add the new translatable strings

11 years agoUpdate swedish translation.
Mikael Magnusson [Sun, 2 Mar 2008 23:07:41 +0000 (00:07 +0100)]
Update swedish translation.

11 years agobump the version to 3.4-pre2
Dana Jansens [Sun, 2 Mar 2008 22:46:46 +0000 (17:46 -0500)]
bump the version to 3.4-pre2

11 years agoupdate the changelog for changes up to now
Dana Jansens [Sun, 2 Mar 2008 22:45:29 +0000 (17:45 -0500)]
update the changelog for changes up to now

11 years agoMerge branch 'backport' into 3.4-working
Dana Jansens [Sun, 2 Mar 2008 22:31:49 +0000 (17:31 -0500)]
Merge branch 'backport' into 3.4-working

11 years agoshow the kill dialog if something doesn't respond for 6 seconds instead of 3
Dana Jansens [Sun, 2 Mar 2008 22:28:12 +0000 (17:28 -0500)]
show the kill dialog if something doesn't respond for 6 seconds instead of 3

11 years agoMerge branch 'backport' into 3.4-working
Dana Jansens [Sun, 2 Mar 2008 22:25:13 +0000 (17:25 -0500)]
Merge branch 'backport' into 3.4-working

Conflicts:

openbox/openbox.h

11 years agoadd a title to the session logout confirm prompt
Dana Jansens [Sun, 2 Mar 2008 22:19:39 +0000 (17:19 -0500)]
add a title to the session logout confirm prompt

11 years agoallow prompts to have titles specified. show a prompt when there are syntax errors...
Dana Jansens [Sun, 2 Mar 2008 22:12:11 +0000 (17:12 -0500)]
allow prompts to have titles specified.  show a prompt when there are syntax errors in the xml config files.

11 years agoshow an error message when parsing syntax errors are encountered in the openbox confi...
Dana Jansens [Sun, 2 Mar 2008 21:40:40 +0000 (16:40 -0500)]
show an error message when parsing syntax errors are encountered in the openbox config files

11 years agoadd a cleanup callback to the prompt interface. when the prompt's callback returns...
Dana Jansens [Sun, 2 Mar 2008 21:11:05 +0000 (16:11 -0500)]
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

11 years agothe #ifdef was backwards for using SM or not
Dana Jansens [Sun, 2 Mar 2008 21:04:28 +0000 (16:04 -0500)]
the #ifdef was backwards for using SM or not

11 years agoadd a RECONFIGURING state, and enter that when doing reconfiguring
Dana Jansens [Sun, 2 Mar 2008 20:37:07 +0000 (15:37 -0500)]
add a RECONFIGURING state, and enter that when doing reconfiguring

11 years agoglib already prints a verbose error message when execute fails. don't add a second...
Dana Jansens [Sun, 2 Mar 2008 20:28:22 +0000 (15:28 -0500)]
glib already prints a verbose error message when execute fails.  don't add a second level of useless verbosity to that

11 years agomake code to show a prompt when you just want to display and message and not do anyth...
Dana Jansens [Sun, 2 Mar 2008 20:02:34 +0000 (15:02 -0500)]
make code to show a prompt when you just want to display and message and not do anything when the user presses the button

11 years agomake the SessionLogout action always available but it shows an error if you use it...
Dana Jansens [Sun, 2 Mar 2008 20:01:46 +0000 (15:01 -0500)]
make the SessionLogout action always available but it shows an error if you use it and Openbox wasn't built with SM support

11 years agoMerge branch 'backport' into 3.4-working
Dana Jansens [Sun, 2 Mar 2008 18:37:44 +0000 (13:37 -0500)]
Merge branch 'backport' into 3.4-working

11 years agodon't steal focus from windows you are typing in, even if the new window is a relative
Dana Jansens [Sun, 2 Mar 2008 18:30:44 +0000 (13:30 -0500)]
don't steal focus from windows you are typing in, even if the new window is a relative

11 years agoUpdate portuguese translation.
Mikael Magnusson [Sun, 2 Mar 2008 18:12:01 +0000 (19:12 +0100)]
Update portuguese translation.

11 years agoUpdate japanese translation with the last couple of strings.
Ryoichiro Suzuki [Sun, 2 Mar 2008 16:22:20 +0000 (17:22 +0100)]
Update japanese translation with the last couple of strings.

11 years agodisplay the NotShowIn stuff correctly
Dana Jansens [Sun, 2 Mar 2008 16:41:08 +0000 (11:41 -0500)]
display the NotShowIn stuff correctly

11 years agoMerge branch 'backport' into 3.4
Mikael Magnusson [Sun, 2 Mar 2008 16:25:13 +0000 (17:25 +0100)]
Merge branch 'backport' into 3.4

Conflicts (these changes don't apply at all to 3.4, so ignored them):

openbox/actions/desktop.c
openbox/actions/if.c

11 years agoUpdate japanese translation. Chu
Ryoichiro Suzuki [Sun, 2 Mar 2008 16:22:20 +0000 (17:22 +0100)]
Update japanese translation. Chu

11 years agoan else disappeared somehow
Dana Jansens [Sun, 2 Mar 2008 15:53:09 +0000 (10:53 -0500)]
an else disappeared somehow

11 years agosome modifications to xdg-autostart based on suggestions from the PyXDG maintainer
Dana Jansens [Sun, 2 Mar 2008 15:45:28 +0000 (10:45 -0500)]
some modifications to xdg-autostart based on suggestions from the PyXDG maintainer

11 years agoDon't run actions in If in reverse order.
Mikael Magnusson [Sun, 2 Mar 2008 00:51:06 +0000 (01:51 +0100)]
Don't run actions in If in reverse order.

11 years agoSuper miniscule optimization.
Mikael Magnusson [Sat, 1 Mar 2008 16:55:35 +0000 (17:55 +0100)]
Super miniscule optimization.

11 years agoMerge branch 'backport' into 3.4-working
Dana Jansens [Sun, 2 Mar 2008 09:16:41 +0000 (04:16 -0500)]
Merge branch 'backport' into 3.4-working

11 years agodon't let you use left to go "up to parent" on menus which don't have any parent
Dana Jansens [Sun, 2 Mar 2008 09:16:17 +0000 (04:16 -0500)]
don't let you use left to go "up to parent" on menus which don't have any parent

11 years agoadd cups manager to the default menu
Dana Jansens [Sun, 2 Mar 2008 09:10:47 +0000 (04:10 -0500)]
add cups manager to the default menu

11 years agoMerge branch 'backport' into 3.4-working
Dana Jansens [Sun, 2 Mar 2008 08:47:02 +0000 (03:47 -0500)]
Merge branch 'backport' into 3.4-working

Conflicts:

openbox/actions/all.h

11 years agoadd SessionLogout to the default menu, add a system submenu with common configuration...
Dana Jansens [Sun, 2 Mar 2008 08:41:58 +0000 (03:41 -0500)]
add SessionLogout to the default menu, add a system submenu with common configuration tools in it (obconf, g-control-center, kcontrol)

11 years agoadd a gdm-control tool that lets you..control..gdm..
Dana Jansens [Sun, 2 Mar 2008 07:20:53 +0000 (02:20 -0500)]
add a gdm-control tool that lets you..control..gdm..

11 years agomake the prompt option default to 'true' for Exit and SessionLogout
Dana Jansens [Sun, 2 Mar 2008 08:18:38 +0000 (03:18 -0500)]
make the prompt option default to 'true' for Exit and SessionLogout

11 years agoadd a SessionLogout action
Dana Jansens [Sun, 2 Mar 2008 07:50:19 +0000 (02:50 -0500)]
add a SessionLogout action

11 years agoremove some debug prints
Dana Jansens [Sat, 1 Mar 2008 16:45:33 +0000 (11:45 -0500)]
remove some debug prints

11 years agoMerge branch 'backport' into 3.4-working
Dana Jansens [Sat, 1 Mar 2008 06:24:59 +0000 (01:24 -0500)]
Merge branch 'backport' into 3.4-working

11 years agofix the menu's command for urxvt
Dana Jansens [Sat, 1 Mar 2008 06:16:18 +0000 (01:16 -0500)]
fix the menu's command for urxvt

11 years agoUpdate CHANGELOG with stuff up till now so my typo fix doesn't hide them.
Mikael Magnusson [Fri, 29 Feb 2008 21:39:20 +0000 (22:39 +0100)]
Update CHANGELOG with stuff up till now so my typo fix doesn't hide them.

11 years agoFix a typo and put all the prompt related entries together.
Mikael Magnusson [Fri, 29 Feb 2008 21:32:31 +0000 (22:32 +0100)]
Fix a typo and put all the prompt related entries together.

11 years agoRemove an unused variable.
Mikael Magnusson [Fri, 29 Feb 2008 02:18:12 +0000 (03:18 +0100)]
Remove an unused variable.

11 years agoUpdate brasilian portuguese translation.
Og Maciel [Thu, 28 Feb 2008 22:33:48 +0000 (23:33 +0100)]
Update brasilian portuguese translation.

11 years agoUpdate po/ with new strings, and update swedish translation.
Mikael Magnusson [Thu, 28 Feb 2008 21:37:18 +0000 (22:37 +0100)]
Update po/ with new strings, and update swedish translation.
Also add an overly long comment about translating FILE in the help output.

11 years agoVery inconsequential changes.
Mikael Magnusson [Thu, 28 Feb 2008 19:57:33 +0000 (20:57 +0100)]
Very inconsequential changes.

11 years agoFree copied glists when removing desktops.
Mikael Magnusson [Thu, 28 Feb 2008 19:40:52 +0000 (20:40 +0100)]
Free copied glists when removing desktops.

11 years agoMerge branch 'backport' into 3.4-working
Dana Jansens [Thu, 28 Feb 2008 18:14:30 +0000 (13:14 -0500)]
Merge branch 'backport' into 3.4-working

11 years agomake a nicer default menu with a lot of common apps in it
Dana Jansens [Thu, 28 Feb 2008 17:31:06 +0000 (12:31 -0500)]
make a nicer default menu with a lot of common apps in it

11 years agoIf a window is maximized and has FUNC_MAXIMIZE disabled, still let it unmaximize...
Dana Jansens [Thu, 28 Feb 2008 15:00:29 +0000 (10:00 -0500)]
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.

11 years agoUpdate send-to-desktop menu in the client menu when ctrl-clicking and the client...
Mikael Magnusson [Thu, 28 Feb 2008 16:54:49 +0000 (17:54 +0100)]
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.

11 years agoTry to fix the off-by-one errors even more.
Mikael Magnusson [Thu, 28 Feb 2008 11:42:40 +0000 (12:42 +0100)]
Try to fix the off-by-one errors even more.

11 years agoMerge branch 'backport' into 3.4-working
Dana Jansens [Thu, 28 Feb 2008 06:21:02 +0000 (01:21 -0500)]
Merge branch 'backport' into 3.4-working

11 years agofix some off-by-one errors in edge finding for moving and resizing windows (bug 3506)
Dana Jansens [Thu, 28 Feb 2008 06:20:20 +0000 (01:20 -0500)]
fix some off-by-one errors in edge finding for moving and resizing windows (bug 3506)

11 years agoWhen showing a window's title in the kill prompt, if it doesn't have a title use...
Dana Jansens [Thu, 28 Feb 2008 04:11:08 +0000 (23:11 -0500)]
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)

11 years agoMerge branch 'backport' into 3.4-working
Dana Jansens [Thu, 28 Feb 2008 03:47:12 +0000 (22:47 -0500)]
Merge branch 'backport' into 3.4-working

11 years agoadd the autostart.sh.in to the dist targz instead of the autostart.sh
Dana Jansens [Thu, 28 Feb 2008 03:46:44 +0000 (22:46 -0500)]
add the autostart.sh.in to the dist targz instead of the autostart.sh

11 years agoMerge branch 'backport' into 3.4-working
Dana Jansens [Thu, 28 Feb 2008 03:44:38 +0000 (22:44 -0500)]
Merge branch 'backport' into 3.4-working

11 years agoinclude the xdg-autostart script in the dist targz
Dana Jansens [Thu, 28 Feb 2008 03:44:22 +0000 (22:44 -0500)]
include the xdg-autostart script in the dist targz

11 years agoMerge branch 'backport' into 3.4-working release-3.4.7-pre1
Dana Jansens [Thu, 28 Feb 2008 03:20:30 +0000 (22:20 -0500)]
Merge branch 'backport' into 3.4-working

11 years agoclean up the execute action code, and free the prompt option string
Dana Jansens [Thu, 28 Feb 2008 03:19:59 +0000 (22:19 -0500)]
clean up the execute action code, and free the prompt option string

11 years agochange the yes/no buttons to Exit/Cancel for the exit prompt
Dana Jansens [Thu, 28 Feb 2008 03:14:11 +0000 (22:14 -0500)]
change the yes/no buttons to Exit/Cancel for the exit prompt

11 years agoset the version to 3.4.7-pre1 and update the changelog for all changes up to now
Dana Jansens [Thu, 28 Feb 2008 03:10:14 +0000 (22:10 -0500)]
set the version to 3.4.7-pre1 and update the changelog for all changes up to now

11 years agoMerge branch 'backport' into 3.4-working
Dana Jansens [Thu, 28 Feb 2008 02:04:16 +0000 (21:04 -0500)]
Merge branch 'backport' into 3.4-working

11 years agosome new translated strings
Dana Jansens [Thu, 28 Feb 2008 02:04:04 +0000 (21:04 -0500)]
some new translated strings

11 years agoMerge branch 'backport' into 3.4-working
Dana Jansens [Thu, 28 Feb 2008 01:59:33 +0000 (20:59 -0500)]
Merge branch 'backport' into 3.4-working

11 years agoadd a boolean <prompt> option to the Exit action, which will ask before exiting openbox
Dana Jansens [Thu, 28 Feb 2008 01:43:28 +0000 (20:43 -0500)]
add a boolean <prompt> option to the Exit action, which will ask before exiting openbox

11 years agoGive the Execute action the <prompt> option
Dana Jansens [Thu, 28 Feb 2008 01:35:18 +0000 (20:35 -0500)]
Give the Execute action the <prompt> option

11 years agoMerge branch 'backport' into 3.4-working
Dana Jansens [Thu, 28 Feb 2008 00:37:43 +0000 (19:37 -0500)]
Merge branch 'backport' into 3.4-working

11 years agomake the xdg-autostart script get installed to PREFIX/lib/openbox, and make the autos...
Dana Jansens [Thu, 28 Feb 2008 00:21:16 +0000 (19:21 -0500)]
make the xdg-autostart script get installed to PREFIX/lib/openbox, and make the autostart.sh script look for it there.

11 years agoMerge branch 'backport' into 3.4
Mikael Magnusson [Thu, 28 Feb 2008 00:31:32 +0000 (01:31 +0100)]
Merge branch 'backport' into 3.4

Conflicts:

openbox/event.h

11 years agoUpdate po files with new strings, update swedish translation.
Mikael Magnusson [Wed, 27 Feb 2008 03:58:12 +0000 (04:58 +0100)]
Update po files with new strings, update swedish translation.

11 years agoChange the kill prompt buttons to "Cancel" and "End Process"/"Disconnect" (for local...
Dana Jansens [Wed, 27 Feb 2008 03:22:35 +0000 (22:22 -0500)]
Change the kill prompt buttons to "Cancel" and "End Process"/"Disconnect" (for local/remote apps)

11 years agoFix some typos and style in client.c, and add a comment.
Mikael Magnusson [Wed, 27 Feb 2008 02:59:25 +0000 (03:59 +0100)]
Fix some typos and style in client.c, and add a comment.
Also moves a comment from many places into one place.

11 years agoMake "Unnamed Window" translatable.
Mikael Magnusson [Wed, 27 Feb 2008 02:51:52 +0000 (03:51 +0100)]
Make "Unnamed Window" translatable.

11 years agoPass TRUE instead of FALSE to do what the comment says.
Mikael Magnusson [Wed, 27 Feb 2008 00:04:22 +0000 (01:04 +0100)]
Pass TRUE instead of FALSE to do what the comment says.

11 years agoVarious cleanups of event.c
Mikael Magnusson [Tue, 26 Feb 2008 13:49:49 +0000 (14:49 +0100)]
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.

11 years agoRefactor the event handling for titlebar buttons a bit.
Mikael Magnusson [Tue, 26 Feb 2008 13:12:02 +0000 (14:12 +0100)]
Refactor the event handling for titlebar buttons a bit.

11 years agoadd xce-mcs-manager to the autostart.sh - run it if gsd is not found
Dana Jansens [Wed, 27 Feb 2008 02:17:26 +0000 (21:17 -0500)]
add xce-mcs-manager to the autostart.sh - run it if gsd is not found

11 years agoFixing bug from commit 041d17373e04
Dana Jansens [Tue, 26 Feb 2008 08:12:57 +0000 (03:12 -0500)]
Fixing bug from commit 041d17373e04

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 041d17373e04 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.

11 years agoMerge branch 'backport' into 3.4-working
Dana Jansens [Tue, 26 Feb 2008 06:00:13 +0000 (01:00 -0500)]
Merge branch 'backport' into 3.4-working

11 years agochange the buttons in the kill prompt from "yes/no" which can be a little confusing...
Dana Jansens [Tue, 26 Feb 2008 05:59:25 +0000 (00:59 -0500)]
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

11 years agoshow the desktop change popup before mapping/unmapping all the windows
Dana Jansens [Tue, 26 Feb 2008 03:16:58 +0000 (22:16 -0500)]
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

11 years agoMerge branch 'backport' into 3.4-working
Dana Jansens [Fri, 22 Feb 2008 17:13:13 +0000 (12:13 -0500)]
Merge branch 'backport' into 3.4-working

11 years agoAdd theme options for menu line separators.
Dana Jansens [Fri, 22 Feb 2008 17:12:20 +0000 (12:12 -0500)]
Add theme options for menu line separators.

Added:
 menu.separator.color
 menu.separator.width
 menu.separator.padding.width
 menu.separator.padding.height

11 years agoMerge branch 'backport' into 3.4-working
Dana Jansens [Fri, 22 Feb 2008 15:53:12 +0000 (10:53 -0500)]
Merge branch 'backport' into 3.4-working

11 years agoAllow windows to specify a base-size of 0
Dana Jansens [Fri, 22 Feb 2008 15:52:04 +0000 (10:52 -0500)]
Allow windows to specify a base-size of 0

This fixes the resize popup for terminal windows, if the base-size was 0, the size popup would be off by one.

11 years agoLet ObPrompts be modal dialogs, and when they are transient for a window, make it...
Dana Jansens [Fri, 22 Feb 2008 15:38:14 +0000 (10:38 -0500)]
Let ObPrompts be modal dialogs, and when they are transient for a window, make it transient for its entire group, so it can be stacked at the highest level above other transients

11 years agoMerge branch 'backport' into 3.4-working
Dana Jansens [Thu, 21 Feb 2008 18:24:29 +0000 (13:24 -0500)]
Merge branch 'backport' into 3.4-working

11 years agoIf multiple key bindings at the same level are not able to be translated, then don...
Dana Jansens [Thu, 21 Feb 2008 18:00:11 +0000 (13:00 -0500)]
If multiple key bindings at the same level are not able to be translated, then don't have them conflict and end up removing untranslated bindings from the key tree.  This way they can be re-translated later.

This fixes keybindings getting lost when VMWare grabs the keyboard/pointer

11 years agoChange all single quotes to double quotes in strings.
Mikael Magnusson [Thu, 21 Feb 2008 10:57:06 +0000 (11:57 +0100)]
Change all single quotes to double quotes in strings.

11 years agoUpdate finnish translation.
Mikael Magnusson [Thu, 14 Feb 2008 12:49:01 +0000 (13:49 +0100)]
Update finnish translation.

11 years agoMoveResizeTo was broken for opposite edges.
Mikael Magnusson [Tue, 19 Feb 2008 17:44:49 +0000 (18:44 +0100)]
MoveResizeTo was broken for opposite edges.

11 years agoMerge branch 'backport' into 3.4-working
Dana Jansens [Tue, 19 Feb 2008 01:52:06 +0000 (20:52 -0500)]
Merge branch 'backport' into 3.4-working

11 years agoFix button press behaviours. On LeaveNotify, make the button no longer pressed....
Dana Jansens [Mon, 18 Feb 2008 22:12:38 +0000 (17:12 -0500)]
Fix button press behaviours.  On LeaveNotify, make the button no longer pressed.  On MotionNotify, only make it hovered if no button is pressed down.  On EnterNotify, make it hovered or pressed as appropriate.

This fixes case where you left-click and hold on a button, then right click to open the menu - this used to leave the button in a pressed state.

11 years agoGrab key bindings with GrabModeSync, so that if they lead to a keyboard grab, then...
Dana Jansens [Mon, 18 Feb 2008 20:55:59 +0000 (15:55 -0500)]
Grab key bindings with GrabModeSync, so that if they lead to a keyboard grab, then no keyboard events will be lost between the initial keybinding and the keyboard grab.

11 years agothe focus indicator line for prompt buttons wasn't being displayed, since the texture...
Dana Jansens [Mon, 18 Feb 2008 04:51:18 +0000 (23:51 -0500)]
the focus indicator line for prompt buttons wasn't being displayed, since the texture type was no longer being set

11 years agoUpdate spanish translation.
Elián Hanisch [Mon, 18 Feb 2008 22:26:31 +0000 (23:26 +0100)]
Update spanish translation.

11 years agoFix some typos in comments.
Mikael Magnusson [Mon, 11 Feb 2008 17:06:22 +0000 (18:06 +0100)]
Fix some typos in comments.

11 years agoAdd a comment for translators about how to change order of arguments.
Mikael Magnusson [Sun, 17 Feb 2008 16:01:07 +0000 (17:01 +0100)]
Add a comment for translators about how to change order of arguments.

11 years agoUpdate all the po files so they contain the new prompt strings so translators can...
Mikael Magnusson [Sun, 17 Feb 2008 15:39:56 +0000 (16:39 +0100)]
Update all the po files so they contain the new prompt strings so translators can translate them.