Commit graph

6629 commits

Author SHA1 Message Date
Dana Jansens
040d344a89 don't take KeyRelease events for menus until they receive a KeyPress event first. avoid using the key binding used to show the menu to execute something inside it. 2008-01-11 18:57:32 -05:00
Dana Jansens
78cd9bba52 continue commit 2b80e4e8ef - remove debug code, and some unneeded stuff 2008-01-11 18:33:43 -05:00
Dana Jansens
bf259be653 fixes from commit 0ce14a7279
the xsync was needed to get the right serial for the end of the ignore range
2008-01-11 18:28:35 -05:00
Dana Jansens
2b80e4e8ef ignore mouse clicks on override-redirect windows that aren't owned by openbox 2008-01-11 18:13:12 -05:00
Dana Jansens
6133bbd5f7 try to comment the code for when to save the "last desktop" 2008-01-11 17:24:57 -05:00
Dana Jansens
8a2adbb058 make the time to remember last desktop a #define, and make it 750ms 2008-01-11 16:53:26 -05:00
Mikael Magnusson
b3764dd433 Don't record desktops for lastdesktop when switching away quickly again.
When switching desktops, only record the previous desktop as the last
desktop if the user stayed there for a while. This way you can scroll
over a couple desktops quickly, then go back to the previous desktop
you _used_, not the last you scrolled past.
2008-01-11 16:37:23 -05:00
Dana Jansens
e61f58462f freeze onscreen stacking order changes while a temp raise for focus cycling is occuring 2008-01-11 16:29:11 -05:00
Dana Jansens
22c102572e fix a crash when reconfiguring during focus cycling 2008-01-11 16:26:16 -05:00
Dana Jansens
ea371936ce let you raise the focus target temporarily during focus cycling, with the <raise> option. also a new <bar> option lets you turn off the indicator bar 2008-01-11 16:11:51 -05:00
Dana Jansens
746015e88c make backport closer to 3.4-working for merging purposes 2008-01-11 15:36:31 -05:00
Dana Jansens
abc67cbdc1 make it possible to temporarily raise a window to the top, and restore it. also fix the return val for window_layer. 2008-01-11 15:28:26 -05:00
Dana Jansens
1789d45645 fix a warning from crappy libc apis 2008-01-11 15:18:04 -05:00
Dana Jansens
1cb287e130 focus the desktop window when you right click it, same as you focus other windows 2008-01-11 15:01:03 -05:00
Dana Jansens
fb1d6d9e46 Bug 3359 - redundant pango flags 2008-01-11 14:48:21 -05:00
Dana Jansens
0ce14a7279 fix a focus race condition in two ways:
1. when focusing a window, ignore any enter events up until the serial of the X event causing the focus, not up until the last thing sent to the server.  if we get 2 enters very quickly, then we don't want to ignore the second one just because we are focusing the first window.
2. there is a race if you check (focus_client != d->client) in the delay_focus_func, because the current focused window might change by the time this focus_client would take effect, so don't check that.
2008-01-11 14:40:58 -05:00
Dana Jansens
b447f16f60 code clean up 2008-01-11 13:06:37 -05:00
Dana Jansens
162a97e158 XKB modifiers are strange things, and i don't know how to read them properly in modkeys.c and convert it all to the x core stuff. so we use this to get the state of the modifiers, otherwise we end up missing them sometimes (like on PPC) 2008-01-11 13:05:11 -05:00
Dana Jansens
5a468756c0 reconfigure openbox when the input mapping changes, eg. keyboard layout or modifier map 2008-01-11 11:42:09 -05:00
Dana Jansens
8a51893e8b Revert "fix for xkb weirdness, to fix a bug introduced in 3.4.3, where releasing the super mod key would not end interactive actions."
This reverts commit 47e7aa82dc.

This is an XKB problem, and it needs to be properly resolved with XKB functions
2008-01-11 11:21:00 -05:00
Dana Jansens
103567be66 updated clearlooks theme from John McKnight 2008-01-11 10:16:42 -05:00
Dana Jansens
44ee90c946 Bug#: 3328 - remove top border for maxed undecorated windows 2008-01-11 10:00:58 -05:00
Dana Jansens
9e9a7e124d allow dialog windows to be fullscreened, kpdf does this 2008-01-11 09:46:07 -05:00
Inko Illarramendi Arancibia
40ed213d4b Add new Basque translation. 2008-01-11 02:11:24 +01:00
Mikael Magnusson
b155a17305 Correct .po version headers. 2008-01-11 02:11:20 +01:00
Quan Tran
9ad2ec9700 Add --exit translation to vietnamese translation. 2008-01-09 21:34:19 +01:00
Eric Lassauge
585098c3b6 Update french translation with --exit help and use french punctuation rules. 2008-01-08 21:07:54 +01:00
Robert Kuszinger
d27cef98da Add Hungarian translation. 2007-12-21 14:36:38 +01:00
Mikael Magnusson
46f90bca8a Update slovak translation with desktop strings. 2007-12-07 13:41:16 +01:00
Mikael Magnusson
5f045992f1 Add --exit. 2007-11-12 19:17:30 +01:00
Mikael Magnusson
dc6564619f Try to fix the popup only showing up on monitor 0.
screen_find_monitor() should perhaps contain that big hunk of logic, I don't know if
anything will break now that it returns screen_num_monitors sometimes. We'll see!
2007-10-31 08:10:59 +01:00
Elias Julkunen
70689e1093 Update finnish translation. 2007-10-22 22:38:03 +02:00
Mikael Magnusson
8cdf412aed Change setenv and unsetenv to putenv for portability.
Solaris apparently does not have setenv and unsetenv.
2007-10-18 08:25:34 +02:00
Mikael Magnusson
556eb7b7fb ANSI function declarations, ie () -> (void) 2007-09-04 06:27:10 +02:00
Mikael Magnusson
9b803f4755 Fix using None when it should be NULL 2007-09-04 06:25:31 +02:00
Mikael Magnusson
1492bd0e7d Fix shadowed variables 2007-09-04 06:25:06 +02:00
Mikael Magnusson
c12d09bde8 Fix calling functions with wrong number of arguments 2007-09-04 06:23:54 +02:00
Mikael Magnusson
93c43114ca Update french translation. 2007-08-31 15:07:54 +02:00
Dana Jansens
78add17077 hide the desktop popup when showing the directional focus popup too 2007-08-23 09:08:38 -04:00
Mikael Magnusson
57b50c3ec9 German translation update 2007-08-23 15:02:14 +02:00
Mikael Magnusson
e4f24d84a0 Hide the desktop cycle popup when the focus cycle popup is shown. 2007-08-22 18:00:12 +02:00
Mikael Magnusson
f4aeb10397 Russian translation update with manage desktop menu strings. 2007-08-17 22:41:55 +02:00
Mikael Magnusson
c870786774 Only copy execute_func to the more_menu.
Also don't bother copying NULL around in menu_new.
2007-08-07 05:17:50 +02:00
Mikael Magnusson
f2b94f18a5 Another leaked Rect *a 2007-08-07 04:34:42 +02:00
Mikael Magnusson
e5c7c95f2d Squash one more leak 2007-08-07 04:24:48 +02:00
Dana Jansens
c6b2272564 proper constness 2007-08-06 22:15:59 -04:00
Dana Jansens
d3ff019f53 more clear code? 2007-08-06 22:12:20 -04:00
Mikael Magnusson
d658612cac Fix another memleak 2007-08-07 03:58:02 +02:00
Mikael Magnusson
c2ab1eaab8 Updated finnish translation 2007-08-06 20:05:58 +02:00
Dana Jansens
fe08a60665 add a comment 2007-08-05 21:14:38 -04:00