Commit graph

6804 commits

Author SHA1 Message Date
Dana Jansens
11408575b3 make an xdg-autostart script. it is very fancy. 2008-02-09 19:02:03 -05:00
Mikael Magnusson
10cabdfe85 Fix a minor issue with lastdesktop right after startup. 2008-02-09 11:43:26 +01:00
Mikael Magnusson
e5f21a4a87 Update swedish translation.
NB: using 3.4.6.1 to mean the --config-file translation is included and 3.4.6 for everything before that.
2008-02-09 09:42:31 +01:00
Martin Sova
afb9e64100 Update czech translation. 2008-02-09 09:38:28 +01:00
Mikael Magnusson
d9d580e038 Wrap the focus action in actions_client_move.
When alt-tabbing to iconified audacious and the playlist or eq window pops up under
the cursor, they "stole" focus from the main window.
2008-02-08 14:00:38 +01:00
Mikael Magnusson
86a95d8440 Don't bother setting screen_last_desktop here, it's inited in screen_startup anyway. 2008-02-08 10:22:57 +01:00
Mikael Magnusson
9f88642bf4 Improve menu behaviour when clicking on grandparents.
Some time ago the menus were changed to not trigger on mouseover on a grandparent or higher
so that you wouldn't lose a carefully navigated menu structure. Clicking on an item opens
it though. It used to be on ButtonRelease but now it is on ButtonPress. Additionally, a Press
now causes grandchildren to be closed when clicking on already selected parts of the hierarchy.
2008-02-07 16:06:36 +01:00
Mikael Magnusson
f6193ad9e0 Merge branch 'wip/alttab' 2008-02-07 15:28:18 +01:00
Dana Jansens
de85e4f1d9 put stuff in the right place in alttab list mode when there is only 1 window in it 2008-02-07 09:10:01 -05:00
Dana Jansens
a3babc4a99 tell what signal is going to be sent to the client when killing through the dialog 2008-02-07 02:14:45 -05:00
Dana Jansens
aeb1ebd04d use the hover and press button colors (this was a bug) 2008-02-07 02:14:45 -05:00
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
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