Commit graph

6622 commits

Author SHA1 Message Date
Dana Jansens
fcc23e1fd1 when drawing and measuring strings in "flow" mode, don't ellipsize so that lines can wrap 2008-02-07 02:14:45 -05:00
Dana Jansens
b3c5fab3fa don't kill our own ObPrompt windows with kill actions 2008-02-07 02:14:44 -05:00
Dana Jansens
7ecfa01df8 if a prompt is already showing and you try show it again, then make it active. in the "kill this?" prompt use the window's original title without any of the openbox-appended-ness 2008-02-07 02:14:44 -05:00
Dana Jansens
95ee6b103f prompt to kill windows when they are not responding 2008-02-07 02:14:44 -05:00
Dana Jansens
0e9cfd7c77 let you specify return codes for the different buttons in a prompt, and specify a callback function for the prompt for when it is closed 2008-02-07 02:14:44 -05:00
Dana Jansens
f4838c9a3d position the buttons in the bottom right instead of centering them 2008-02-07 02:14:44 -05:00
Dana Jansens
9a4ce94579 key input works for ObPrompt windows now 2008-02-07 02:14:44 -05:00
Dana Jansens
5130c1c28a make the prompt buttons respond to button presses. keyboard input code is there too but not working yet. 2008-02-07 02:14:44 -05:00
Dana Jansens
5f31bde96d properly place the msg texture 2008-02-07 02:14:44 -05:00
Dana Jansens
f5c2d6d379 Make ObPrompt windows get managed as clients, and make them able to reconfigure as well. 2008-02-07 02:14:44 -05:00
Dana Jansens
84f1f2be12 give prompts a border, and fix how they are laid out. and make them use the multi-line text capabilities in render for the message 2008-02-07 02:14:44 -05:00
Dana Jansens
9e3ce4efed allow font rendering to use multiple lines 2008-02-07 02:14:44 -05:00
Dana Jansens
a01ece1353 you can create dialog windows called "prompts" which have a message and some buttons! they don't do anything interesting yet. 2008-02-07 02:14:43 -05:00
Dana Jansens
a0a9b0334b make the internal window type more easily inheritable 2008-02-07 02:14:43 -05:00
Dana Jansens
5f04ca85ef Merge branch 'backport' into work
Conflicts:

	openbox/config.c
2008-02-07 02:06:42 -05:00
Dana Jansens
307befd333 add the position's force attribute to the default rc.xml and xsd 2008-02-06 09:22:04 -05:00
Dana Jansens
265bdd4660 don't crash when using <raise> and alt-tab and there are no windows to cycle between 2008-02-05 12:32:46 -05:00
Dana Jansens
87fd759ba9 the title_focused_shadow_color is being set twice, and being overridden by the osd color (though not in the texture) 2008-02-05 00:09:51 -05:00
Mikael Magnusson
12ca673de5 Add the manageDesktops option. 2008-02-04 02:26:00 +01:00
Dana Jansens
6b04ac47e2 make the menu headers show their correct text 2008-02-03 18:45:40 -05:00
Dana Jansens
4d5dd00229 ignore fake generated enters if they are in the serial-ignore-range too 2008-02-03 18:37:45 -05:00
Dana Jansens
deb0aa720a allow you to force the position of windows with rc.xml's per-app settings with the force="yes" attribute 2008-02-03 18:37:37 -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