Commit graph

6736 commits

Author SHA1 Message Date
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
d81339c9cf show the arrows in the alttab list box at the right times (they were one step behind) 2008-02-06 09:35:28 -05:00
Dana Jansens
e9eac7ce50 make the listmode alttab the default 2008-02-06 09:31:03 -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
Mikael Magnusson
a066e61939 Don't show extra space for arrows when not needed. 2008-02-06 08:06:50 +01:00
Mikael Magnusson
930d7a33ad style 2008-02-06 08:06:49 +01:00
Dana Jansens
bc13099405 show a small arrow on the top/bottom of the alttab list box when there are more windows that are not visible in that direction 2008-02-06 01:32:12 -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
92bbd733fa make sure the alttab list-mode has at least 1 row 2008-02-05 00:16:48 -05:00
Dana Jansens
0369732c35 when scrolling, all the items need to be redrawn to make parentrelative work 2008-02-05 00:11:59 -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
Dana Jansens
b097f84dfd scroll the alttab box in list mode 2008-02-04 23:25:54 -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
25d54d2dda fix the alttab popup mode when it shows on screen, so it won't change mid-cycling 2008-02-03 01:00:42 -05:00
Dana Jansens
892107d3ba center the text vertically in list alttab box mode 2008-02-03 00:51:55 -05:00
Dana Jansens
ad3bf0cea4 limit the alttab list to 80% of the screen height 2008-02-03 00:46:39 -05:00
Dana Jansens
04e1084d58 map the appropriate text-containing windows, and unmap the ones that are not being used based on the focus popup cycle mode 2008-02-03 00:39:19 -05:00
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