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
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
8387c6cce8
Merge branch 'backport' into work
2008-02-26 01:00:26 -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
Dana Jansens
97de737767
Merge branch 'backport' into work
...
Conflicts:
openbox/menuframe.c
openbox/prompt.c
openbox/prop.c
openbox/prop.h
2008-02-22 12:31:26 -05:00
Dana Jansens
d9e6aa5643
Add theme options for menu line separators.
...
Added:
menu.separator.color
menu.separator.width
menu.separator.padding.width
menu.separator.padding.height
2008-02-22 12:13:02 -05:00
Dana Jansens
fadc52e186
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.
2008-02-22 10:52:04 -05:00
Dana Jansens
cd4f325ee7
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
2008-02-22 10:38:14 -05:00
Dana Jansens
198d98986b
Merge branch 'backport' into work
...
Conflicts:
openbox/openbox.c
openbox/session.c
2008-02-21 13:24:19 -05:00