Commit graph

6736 commits

Author SHA1 Message Date
Dana Jansens
bbad88aa21 add a --config-file command line option, and OB_CONFIG_FILE root hint 2008-02-02 09:45:33 -05:00
Dana Jansens
674c042c68 make update-po 2008-02-02 09:07:03 -05:00
Dana Jansens
b1d4bbdb54 make fullscreen windows more xinerama and multi-screen aware
instead of calling it every time a window loses focus, it is only called when a window gains focus.  then, check fullscreen layered windows, if they should be moved to a lower layer.
when moving a window between monitors, also check its layer and that of any fullscreen windows.
let a window stay in the fullscreen layer even when it is not focused, if it is on a non-visible desktop, or if it is on a different monitor from the focused window, or if nothing else is focused
2008-02-02 09:03:13 -05:00
Dana Jansens
3b0f41dc66 fix a crash from chroot of invalid keys, and make keybindings reload better
since invalid(not translated) keybindings are allowed in the tree, the tree's structure may actually need to change when reconfiguring.  actually, it could need to anyways.  so when re-translating all the keybindings, actually rebuild the keybinding tree.  also, make the chroot building code not fail when translate fails, to match the rest of the code and avoid segfaults with chroots on invalid keys.
2008-02-02 01:25:59 -05:00
Dana Jansens
76fcb473fa don't crash when using <raise> and alt-tab and there are no windows to cycle between 2008-02-01 01:56:37 -05:00
Dana Jansens
4764e1805d remove the generated obt's pc file 2008-02-01 00:36:43 -05:00
Dana Jansens
f34add5440 install the right headers for obt/obrender 2008-01-31 18:22:58 -05:00
Dana Jansens
5563e251c3 Merge branch 'backport' into work 2008-01-31 17:32:37 -05:00
Dana Jansens
6a3ac556b9 when checking that a window is onscreen, if there are screens with higher indices than where it appeared, they would trump things and force the window onto the first screen. now, only assume the window is on no screens if it actually is on no screens 2008-01-31 17:31:51 -05:00
Dana Jansens
e0c1978c51 generalize the window managing process into window_manage, which handles dock apps and the like 2008-01-31 16:50:54 -05:00
Dana Jansens
45e2039a58 unlink the log file when opening it so you get a new file 2008-01-31 12:54:52 -05:00
Mikael Magnusson
e0eb926ac2 Fix a memleak. (unref ObtPaths) 2008-01-31 12:54:51 -05:00
Dana Jansens
a21840cbb7 make ob_debug use the g_log system, and make openbox log messages to..a log file ! this will help everyone since most people do not run openbox in a terminal.. 2008-01-31 12:54:51 -05:00
Dana Jansens
20b8fcfa33 Merge branch 'backport' into work
Conflicts:

	openbox/client.c
	openbox/config.c
	openbox/event.c
	openbox/extensions.c
	openbox/focus_cycle_indicator.c
	openbox/focus_cycle_popup.c
	openbox/menuframe.c
	openbox/moveresize.c
	openbox/openbox.c
	openbox/screen.c
	openbox/stacking.c
	openbox/startupnotify.c
2008-01-31 12:51:38 -05:00
Dana Jansens
dc94a241c3 don't deiconify windows on reconfigure if they cant be iconified directly. stop managing windows in reverse order on restart it messes up the dock among other things 2008-01-31 12:26:22 -05:00
Dana Jansens
33131761db don't check for the root window in the window hash tables. waste of cpu 2008-01-31 12:26:22 -05:00
Dana Jansens
266d141fee be explicit than automake 1.9 is needed 2008-01-31 12:25:32 -05:00
Mikael Magnusson
a0acc01f2c Fix a typo that broke transient window hints. 2008-01-31 12:25:31 -05:00
Dana Jansens
d57fd94394 increment the library version 1 so that it differs from the backport one, as they are actually different, and overwriting it sucks for obconf 2008-01-31 12:25:31 -05:00
Dana Jansens
d81c4be600 don't assert when you window_find(0)/dockapp_find(0), just return 0 2008-01-31 12:25:31 -05:00
Mikael Magnusson
90ca468efa Use the # directive to simplify defines. 2008-01-31 12:25:31 -05:00
Dana Jansens
8b23b1a5b4 put openbox saved sessions in CACHE_HOME not DATA_HOME. more correct! i think. 2008-01-31 12:25:31 -05:00
Dana Jansens
52369e319f simplify window.h macros, and rename the window types to ObWindowClass for consistent name style 2008-01-31 12:25:31 -05:00
Dana Jansens
73c9a0e06b make an obt_root() macro 2008-01-31 12:25:31 -05:00
Dana Jansens
ec3a4e3404 xerror.c is gone 2008-01-31 12:25:31 -05:00
Dana Jansens
ac1b79834c its OBT_VERSION not OB_VERSION anymore 2008-01-31 12:25:30 -05:00
Dana Jansens
2c64fe685e add support for XDG_CACHE_HOME to the obt paths 2008-01-31 12:25:30 -05:00
Dana Jansens
46cf95d36b make menu event handling work more like how other events are handled, less special-casey 2008-01-31 12:25:30 -05:00
Dana Jansens
770032fdb5 use -ggdb not -g3, as g3 breaks things 2008-01-31 12:25:30 -05:00
Dana Jansens
29637976e6 make the window.h interface more consistent with the rest of openbox, hide the window_map behind some functions, and make obdockapps not obwindows anymore 2008-01-31 12:25:30 -05:00
Dana Jansens
d11ac82062 don't deiconify windows on reconfigure if they cant be iconified directly. stop managing windows in reverse order on restart it messes up the dock among other things 2008-01-31 11:23:43 -05:00
Mikael Magnusson
2570d8f25f Mark translations without the new desktop number mismatch message as 3.4.5.
Update swedish translation with them.

 [ I mistakenly originally made this commit on 3.4-working (commit
   7f514044f7fb8f5c2948d9b3da837a9b46717ee5) so the changes got lost on a
   subsequent merge from backport when we usually overwrite po/. ]
2008-01-29 14:06:35 +01:00
Michael Kjelbergvik Thung
1d0bcd8a68 Update norwegian translation. 2008-01-29 13:54:40 +01:00
Dana Jansens
e7e02728a3 reordering things when mapping windows a little to work with iconified windows with iconified toolbars on restart. (e.g. ooffice) 2008-01-28 00:30:44 -05:00
Dana Jansens
3b48aa4ea2 fix a rare assert condition (window maps in iconic state but is not allowed to be iconic) 2008-01-27 23:38:28 -05:00
Mikael Magnusson
d783705141 Change <placeOn> to <monitor>. 2008-01-27 21:03:55 +01:00
Dana Jansens
dd740b5562 replace the <active> placement option with <placeOn>active/mouse/any</placeOn> 2008-01-27 11:31:23 -05:00
Dana Jansens
d409936faa get rid of copying the rrappearances for each menu frame, except for the one that is actually useful 2008-01-27 04:59:39 -05:00
Dana Jansens
de2d970ce1 ignore the built tests and some extra po/ generated junk 2008-01-27 04:25:09 -05:00
Dana Jansens
a4d13100e6 use setenv/unsetenv instead of putenv, cuz they are not ugly and confusing wrt memory leaks 2008-01-27 04:25:09 -05:00
Dana Jansens
9a93350aa7 make horizontal gradients faster by not jumping around in memory as much 2008-01-27 04:25:09 -05:00
Dana Jansens
3a03a554f0 window a window stops responding to pings, don't use the xsync protocol while resizing it - its not going to be responding to it anyways 2008-01-27 03:17:50 -05:00
Dana Jansens
ee0477d167 only store icons for windows that are 64px or smaller, as we don't have need for any bigger icons at this time. unless they only provide icons bigger than that, then just store one of them (the smallest) 2008-01-27 03:14:35 -05:00
Dana Jansens
6be65a7ddd we alloc theme elements for every window frame, but really it is unneccesary 2008-01-27 02:53:26 -05:00
Dana Jansens
dd8cb753c1 add a missing #include 2008-01-27 02:41:21 -05:00
Dana Jansens
8af80aa8dd when ignoring enter events, only ignore up to the current serial (NextRequest()-1). Don't ignore enters that come after this with the next serial. 2008-01-27 02:39:39 -05:00
Dana Jansens
4307366b71 create fake enter events for button press bindings. only swallow enter events when focus.undermouse is not on (for non-mouse actions) 2008-01-27 02:39:39 -05:00
Mikael Magnusson
8c265b5e33 Remove a fuzzy translation. 2008-01-26 18:48:35 +01:00
Mikael Magnusson
2c05d1fb52 Add a few missing includes and remove a stray debug printf. 2008-01-26 18:48:35 +01:00
Dana Jansens
be71b344fa only add borders and stuff to the dock's size if it is holding anything. otherwise it gets a non-zero size which messes with resistence/placement/etc 2008-01-26 01:17:56 -05:00