Commit graph

1936 commits

Author SHA1 Message Date
Dana Jansens
370b5ba27d dont iconify if you can't 2007-05-08 22:36:26 +00:00
Dana Jansens
b82ccb2c78 only place dialogs above other windows 2007-05-08 22:34:02 +00:00
Dana Jansens
b0f43a1159 don't focus splash screens and toolbars and menus when you click on them. or enter them. 2007-05-08 22:29:39 +00:00
Dana Jansens
9782122339 try again. merge r6177-6182 from 3.4-working 2007-05-08 22:03:56 +00:00
Dana Jansens
1e4215c5c6 merge r6176-6182 from 3.4-working 2007-05-08 21:57:36 +00:00
Dana Jansens
aae4f66f68 recalc the layer when above/below changes 2007-05-08 12:22:28 +00:00
Dana Jansens
cc9ef6f22d dont check if relatives have focus. gtk apps all set application even when its from a user event 2007-05-08 02:33:20 +00:00
Dana Jansens
f2e88d2491 only show the debug message when relevent 2007-05-08 02:31:46 +00:00
Mikael Magnusson
cc2ad0a823 double space in debug output 2007-05-08 02:22:07 +00:00
Dana Jansens
e4cffb6459 redo how a window checks if it can activate.
added the bahavior that.. if an application is the source of the request, it will only move focus if something related to it has focus already (and user time checks out)
2007-05-08 01:59:23 +00:00
Dana Jansens
de82c4a5df i dont like this "application window" concept. swap it with "helper" windows instead which are the inverse. helper windows are utility/menu/toolbar windows. 2007-05-08 01:31:51 +00:00
Dana Jansens
ebabf3943c make helper windows share desktops with all their application top level windows 2007-05-08 01:25:30 +00:00
Dana Jansens
5945d2e9c8 ok, so, back out the last commit. owner events are passed thru so we get enter/leave notify events.
dont change frame decor from button presses during an interactive grab or
while a menu is open
2007-05-08 00:40:01 +00:00
Dana Jansens
26fc54c9a3 why did we pass thru owner events ?? its working without that.. hum..
and now the frame buttons dont get press hilights while the menu is open
2007-05-08 00:28:05 +00:00
Dana Jansens
38b12c6cba ! 2007-05-08 00:18:15 +00:00
Dana Jansens
1fa08abd9c um... hide the client menu when the window changes desktops. its not visible anymore (probably..) and no send to menu wont be wrong too. 2007-05-07 23:48:05 +00:00
Dana Jansens
fa332cc314 try reselect the same line. its not perfect though.. 2007-05-07 23:38:10 +00:00
Dana Jansens
280529221e add a notifier for clients changing desktops. use it to update the send-to menu if it changes. it does this by closing/opening the menu.. thats about the best we can do tho with this menu code without huge changes 2007-05-07 23:26:22 +00:00
Mikael Magnusson
31d7680274 update some strings and the swedish translation 2007-05-07 23:18:12 +00:00
Dana Jansens
e180bb036d translate "More..." 2007-05-07 22:40:12 +00:00
Dana Jansens
d915480371 oops hehe. a render call in the loop for debugging was what made it slow. anyhow make it even faster by only calling render once too. yay snappiness. 2007-05-07 22:15:40 +00:00
Dana Jansens
3905872982 merge in r6153-6154 from the 3.4 branch 2007-05-07 22:07:13 +00:00
Dana Jansens
edf29cfe73 when a window becomes transient for its group, it needs to have group transients removed from itself 2007-05-07 17:07:35 +00:00
Dana Jansens
e1081644c1 show the right icon 2007-05-07 16:57:02 +00:00
Dana Jansens
37e2be2a57 fix a crash after reconfigure, the desktop names were not being re-set. so now they aren't deleted since we don't want to change them over a reconfigure anyways. 2007-05-07 16:49:27 +00:00
Dana Jansens
82b2f0aa7a popups fixes. if the text for the popup is empty now, there wont be extra padding for it. desktop name fixes. 2007-05-07 06:33:43 +00:00
Dana Jansens
15007a62c2 remove a debugging print 2007-05-07 06:32:58 +00:00
Dana Jansens
5e8dfcfe54 we werent dropping it in screen, we were dropping it in prop 2007-05-07 05:58:02 +00:00
Dana Jansens
8d81088eb9 we were always overwriting the last desktop name 2007-05-07 05:43:31 +00:00
Dana Jansens
5e0fa1b5c1 a variable sized alt-tab box. is this nice or slower to read? we'll see. 2007-05-07 03:54:39 +00:00
Dana Jansens
0f018ecea0 fix a comment 2007-05-07 03:21:44 +00:00
Dana Jansens
13df16a681 windows on other desktops are iconic state too 2007-05-07 03:16:45 +00:00
Dana Jansens
f138bd8007 this had changed for the animation stuff but it is no longer needed i think. also in show desktop mode, windows aren't iconic state they are just "behind" the desktop. 2007-05-07 03:10:05 +00:00
Dana Jansens
974391d345 switch to using a command line variable instead, for the restart binary, just remove it so its not given to the session manager and confuses things.
drop the reconfigure notify pid for now
2007-05-07 01:57:10 +00:00
Dana Jansens
740c8af41e add .desktops for running Openbox, KDE/Openbox and GNOME/Openbox
add more .desktops for gnome and update it
add scripts to run an KDE/Openbox and GNOME/Openbox session
also add scripts for openbox-gnome and openbox-kde which are placeholders and will be replaced by real programs.
also set the name on the wm_support_win to be how we were called (which is passed in the environment) rather than just "Openbox"
add an envionment variable for wanting to be notified (SIGUSR2) when openbox reconfigures. this would be used by openbox-shell to update the root window.. if i make such a thing.. i dunno.
2007-05-07 01:41:48 +00:00
Dana Jansens
f506cbceae the session properties are not set on the group leader, they are set on the "client leader" which is in the WM_CLIENT_LEADER property. also they are all set when the window maps, and not to be changed thereafter. 2007-05-07 00:10:15 +00:00
Dana Jansens
b02947c09f client machine and wm_command can be set on the group leader 2007-05-06 23:37:30 +00:00
Dana Jansens
de98881368 memory leak 2007-05-06 23:29:29 +00:00
Dana Jansens
f289adf653 a focus fix? konquerer would end up losign focus on close sometimes. this is the only thing i can think of tht would cause it. we will see.. 2007-05-06 23:22:54 +00:00
Dana Jansens
2c507a7207 missed some stuff? 2007-05-06 22:58:51 +00:00
Dana Jansens
7ffa091d5b change the perapp settings "head" option to "monitor" i think its easier to understand.
some cleanup for perapp settings.
make monitor and desktop be specified starting at 1, like elsewhere in the config file.
2007-05-06 22:57:49 +00:00
Dana Jansens
6cd5f7ea38 document the per app settings in rc.xml.in. some xsd fixes. add the "default" option to all the per-app settings which is the same as not putting it in there at all. 2007-05-06 22:04:55 +00:00
Mikael Magnusson
58b79ed35f don't translate message saying we can't translate messages 2007-05-06 11:52:27 +00:00
Dana Jansens
8286b441be fix the popup text width, cuz the way its calculated changed 2007-05-06 11:23:41 +00:00
Dana Jansens
a25c5b855c lower the screen support win at startup. this way we don't map everything over top of the kde splash screen. and other windows wont get burried under the desktop window this way too, like amarok's osd. 2007-05-06 11:16:56 +00:00
Dana Jansens
3c4d73c484 save session state for old clients that dont use XSMP. more session improvements. with ksmserver we can save a few things before the clients go messing with stuff during the interactive phase. 2007-05-06 11:14:20 +00:00
Dana Jansens
0fc06816aa don't make the desktop fullscreen 2007-05-06 09:10:09 +00:00
Dana Jansens
277db2822d a bunch of thigns got squashed into this commit.. sorry..
1. soem bug fixes for window stacking
2. clarify some functions behavior with their names
3. add (untested) support for legacy fullscreen apps. i have no idea what they do on a multihead xinerama setup though and if this would help there or need some changes.
2007-05-06 08:32:03 +00:00
Dana Jansens
007e62fa77 fix popup sizes 2007-05-06 08:02:05 +00:00
Dana Jansens
2ad26c7e70 resize the desktop switch popup to as big as it needs to be for all the desktop names.
don't overrite desktop names on startup, only set them if they aren't already set. that property isn't even for us.
2007-05-06 06:43:17 +00:00
Dana Jansens
d4fec1d336 fixes for resizing to strings. 2007-05-06 06:42:06 +00:00
Dana Jansens
2b658f3d9b show the desktop in the focus popup if its not on the current desktop 2007-05-06 06:01:52 +00:00
Dana Jansens
a7f65a818c add an allDesktops option to Next/PreviousWindow to alt-tab across all desktops. 2007-05-06 05:51:08 +00:00
Dana Jansens
857245960e give the focus indicator a fixed width 2007-05-06 05:37:45 +00:00
Dana Jansens
affc84cc96 more animation frames for iconifying, if your computer can do it 2007-05-06 05:32:07 +00:00
Dana Jansens
eac3a64917 more restrictive to keep clients on screen in more cases 2007-05-06 05:30:12 +00:00
Dana Jansens
1bf9de3809 refactor all the session stuff. yay, it works properly now.
make sessions save the desktop being displayed. can we get rid of config_firstdesk now?
refactor startup a bit. focus the window that was focused when we were restarted.
have clients properly restore their session state.
add undecorated to the saved session state for clients.
2007-05-06 05:19:19 +00:00
Dana Jansens
a6aaabe62c change the --config-file to --config, which works differently..
change the _OPENBOX_RC root property to _OPENBOX_CONFIG which is also different.
2007-05-05 23:54:04 +00:00
Dana Jansens
37875f091d extranous ) 2007-05-05 23:45:49 +00:00
Dana Jansens
c1a5ad45a8 fix stupid apps focusing. yah. 2007-05-05 23:34:48 +00:00
Dana Jansens
526560b8a0 changes to the client menu, which entries are there, and reorganizing, and renaming.
let you highlight disabled menu entries, they just aren't runable of course, and add the activedisabled theme element for these entries.
add the all desktops button picture to "All desktops" in the client menu
update the themes for the new element, and some changes to make things more readable-better contrast.

CLEARLOOKS-OLIVE is now DIFFERENT FROM THE 3.4 BRANCH SO DON'T RE-RUN THEMETOXML ON IT :( :(
yeah.. i think that is everything?
2007-05-05 22:26:59 +00:00
Dana Jansens
8a99fedecd prepend is faster 2007-05-05 19:27:31 +00:00
Dana Jansens
68a9a4c4fc some changes to ConfigureRequest, based on what I found in FVWM.
fix those stupid applications from moving accross the screen by the size of their decorations.
2007-05-05 19:17:46 +00:00
Dana Jansens
97ffe20f7e make focus fallback when it is given to the frame (this happens if you unmap the client but not the frame for eg in iconify animation) 2007-05-05 18:28:40 +00:00
Dana Jansens
3409148047 fixes to the properties and net_supported. a bunch weren't supported. better checking at runtime to make sure everything is in the atom. 2007-05-05 18:19:26 +00:00
Dana Jansens
b114ec7181 dont let you do mouse events on any animating window. also fix root window mouse events.. 2007-05-05 17:04:22 +00:00
Dana Jansens
378adaa94f yay. way way cleaner code for iconify animations. let people show/hide the frame logically and it will do everything except during animations the frame will show what it needs to for visual display. 2007-05-05 16:53:48 +00:00
Dana Jansens
ac56fe1602 make animation default on again. :/ 2007-05-05 16:20:04 +00:00
Dana Jansens
3e90c85df0 oops, i left in the really long animate time heh 2007-05-05 16:17:29 +00:00
Dana Jansens
b5e597f1b3 lots of fixes for the iconify animation. i think it should all work perfectly now ?
one change in action.c may affect bindings... THIS COULD BREAK CURRENT CONFIG FILES. ya.
so, if you used a press binding and it moved the window, no enter event will be generated for that anymore because you are holding down the button when the window moves. if you don't like that then use a click binding instead.

1
2007-05-05 16:16:26 +00:00
Dana Jansens
3db93a6ab5 watch for currenttime 2007-05-05 16:12:36 +00:00
Dana Jansens
48a4eafb42 better iconify animation code. now it is time limited even under heavy load or whatever. yay 2007-05-05 14:36:41 +00:00
Dana Jansens
cf67851d6d dont retrurn a context while incoify animating 2007-05-05 13:29:01 +00:00
Dana Jansens
9ee9b70757 dont make two animations conflict 2007-05-05 13:12:04 +00:00
Mikael Magnusson
492b66ea14 don't animate iconify/restore by default 2007-05-05 09:58:56 +00:00
Dana Jansens
90fefcb78d maybe 1/5 of a second is better? 2007-05-05 06:03:50 +00:00
Dana Jansens
08e42acaad animate iconify/reestore. yeah. 2007-05-05 05:58:35 +00:00
Dana Jansens
fde5ca09e9 when restoring from show-desktop mode because a window is going to be focused, then don't restore focus how it was before showing the desktop. 2007-05-05 02:48:39 +00:00
Dana Jansens
9389c7e6c8 more hacks to avoid races 2007-05-05 02:44:03 +00:00
Dana Jansens
6d3b17488f this is so bogus.. im going to break people's config files just now. 2007-05-05 02:38:46 +00:00
Dana Jansens
a56d3a12ab missing parentheses 2007-05-05 02:12:39 +00:00
Dana Jansens
03f861b0ac let you alt-tab to utility windows when focus is already in the group 2007-05-05 01:37:51 +00:00
Dana Jansens
fce7d9b21e and some more transient fixes 2007-05-05 01:17:05 +00:00
Dana Jansens
1046c19fda more fixes for the transient tree 2007-05-05 01:12:59 +00:00
Dana Jansens
288e37b031 lied about using some events it wasnt using 2007-05-05 01:01:58 +00:00
Dana Jansens
9a9e3f6bf6 woa.. let you do mouse actions while in an interactive keyboard action, and let you do keyboard actions while move/resizing. yay. also you can click in windows at the same time.. 2007-05-05 00:50:53 +00:00
Dana Jansens
0c15af505f unused variable 2007-05-05 00:48:51 +00:00
Dana Jansens
071b5ee301 fix 2 actions.
make activate on the root window work like focus.
dont allow growtoedge in vertical directions for shaded windows. mika can you please test this? :)
2007-05-04 23:32:11 +00:00
Dana Jansens
2713831371 missing paranthesis 2007-05-04 23:30:13 +00:00
Dana Jansens
431035df66 continuation of r6039 in all respects 2007-05-04 23:15:08 +00:00
Dana Jansens
7ff21ad74f add the maginificent client_update_transient_tree.
add a whole lot of comments ! i think like half of this commit is comments
speed up mapping windows a little! less re-updating of the transient info by far.
and... yeah fix the crash created from r6035.
2007-05-04 22:50:53 +00:00
Dana Jansens
32630da2bf make clicks end inetractive actions but not cancel them ! so annoying ! 2007-05-04 17:57:14 +00:00
Dana Jansens
15ec358151 group transients werent getting added to their parents 2007-05-04 16:14:16 +00:00
Mikael Magnusson
d0bbfb66d3 ignore maximized windows in smart placement 2007-05-04 14:30:58 +00:00
Dana Jansens
b5161f8032 revert r6029, as it didnt fix anything.
however this patch does fix the aforementioned problem.
actions need some reworking... yeah... later...
2007-05-04 07:21:22 +00:00
Dana Jansens
a823e4786e dont move windows away from omnpresentness when deiconifying them 2007-05-04 07:19:21 +00:00
Dana Jansens
e84fb1b052 drop the DoNotPropogate thing. metacity doesn't set it at all, and i cant tell any difference in the events generated without it.
grab mouse buttons on the client window itself for client bindings. this fixes the weird "click and drag doesnt work when the window is focused" behavior ive been seeing with kdesktop. hooray !
2007-05-04 04:47:43 +00:00
Dana Jansens
07af4a6184 some improvements on how group transients get their transient pointers, needed after r6022. 2007-05-04 04:25:44 +00:00
Dana Jansens
147f83fe3c this is gross... i think it can go away from other changes... if openbox goes into infinite loops.. then it needs to come back ! 2007-05-04 04:08:31 +00:00
Dana Jansens
cdcba19cf9 better stacking_add_nonintrusive. 2007-05-04 04:06:53 +00:00