Commit graph

6659 commits

Author SHA1 Message Date
Dana Jansens
9b447a2d28 remove commented code 2008-02-03 00:28:03 -05:00
Dana Jansens
88d0c56be0 fix some uses of ICON_SIZE where it should be HILITE_SIZE now, from the old icon-mode focus cycle popup 2008-02-03 00:28:03 -05:00
Dana Jansens
76464a604e combine the old focus cycle popup code with mika's new list-mode popup, and make an action option for it (the old <dialog> option) 2008-02-03 00:28:02 -05:00
Mikael Magnusson
2924adb9b1 Use a_unfocused_label for all but the hilited items.
Should introduce some sort of theme element for this I suppose, but dana is not here.
2008-02-03 00:28:02 -05:00
Mikael Magnusson
3592046b2b Make the icon and hilite the proper sizes.
Had to add some obrender thingers and fiddle around a bit. Also fixed up
some confusing logic.
2008-02-03 00:28:02 -05:00
Mikael Magnusson
da5f4e08f5 Don't need to hang on to the hilite_rgba pointer any more. 2008-02-03 00:28:02 -05:00
Mikael Magnusson
23f3d6e34f Move hilite texture rendering to init time, and draw it after the icon. 2008-02-03 00:28:02 -05:00
Mikael Magnusson
d35dd5ce74 Draw the hilite texture with the icon appearance instead of the background.
This means we don't have to redraw the whole background every time.
However, the hilite is now a bit too small (or the icon is a bit too big).
2008-02-03 00:28:02 -05:00
Mikael Magnusson
23cbab8435 Beginnings of alt-tab dialog that lists all titles to the right of icons 2008-02-03 00:28:02 -05:00
Dana Jansens
a19f2f8bc9 when focusing or raising a window which is modal child for a direct parent, raise its parent and move it to the top of the stacking order too, ie. treat them like one window (this is already done elsewhere, like when moving between desktops for example) 2008-02-02 22:17:32 -05:00
Dana Jansens
751f85003f unused variable 2008-02-02 22:09:52 -05:00
Dana Jansens
58b3ec41b9 improve comment 2008-02-02 22:07:21 -05:00
Dana Jansens
809ee35cff updated clearlooks theme from mulberry 2008-02-02 17:06:24 -05:00
Mikael Magnusson
4435c3a438 Remove the //. 2008-02-02 22:13:31 +01:00
Dana Jansens
de0873824e split the version.h into render/ and obt/ copies, with the appropriate version info 2008-02-02 15:59:44 -05:00
Dana Jansens
1a1619c9a8 make the xerror output more clear, to say when errors are being properly ignored 2008-02-02 14:54:10 -05:00
Dana Jansens
d63d03a84e erroneous comment 2008-02-02 14:29:08 -05:00
Dana Jansens
8d67e4569a update the po files as they appear in 3.4.6 with the new strings 2008-02-02 12:59:23 -05:00
Dana Jansens
f740f47e77 unused var 2008-02-02 11:38:00 -05:00
Dana Jansens
464e4c59cb missing include 2008-02-02 11:37:45 -05:00
Dana Jansens
0dc7eca4cd Merge branch 'backport' into work
Conflicts:

	openbox/client.c
	openbox/event.c
	openbox/mouse.c
	openbox/openbox.c
	openbox/prop.c
	openbox/prop.h
	openbox/screen.c
	parser/parse.c
	parser/parse.h
2008-02-02 11:37:35 -05:00
Dana Jansens
746859c101 if windows on screen are going to be moved, then do the ReplayPointer before that occurs, so it goes to the right window. if they are not, then just wait until after the actions are run (for kdesktop's sake really) 2008-02-02 11:22:17 -05:00
Dana Jansens
c64be9066e comment typo 2008-02-02 11:01:14 -05:00
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