summaryrefslogtreecommitdiff
path: root/openbox/stacking.c
AgeCommit message (Collapse)Author
2007-06-07let you lower siblings below eachotherDana Jansens
2007-06-07get rid of client->transient_for. just client->parents and ↵Dana Jansens
client->transient_for_group now.
2007-06-07nice code cleanup that's been needed for a long time. add parents list to ↵Dana Jansens
client, which you can iterate instead of going thru the group.
2007-06-04when placing transients in the stacking order, only use relatives that are ↵Dana Jansens
on screen or share the desktop or whatever, not iconic ones
2007-06-04fix stacking_add_nonintrusive for when only 2 windows, and one is moving ↵Dana Jansens
below the focused window (fullscreen losing focus)
2007-06-03return if the window was restackedDana Jansens
2007-06-01smrts.Dana Jansens
compare windows for restacking based on their desktops and if they are iconified. dont compare to irrelavent ones. also if the sibling isn't valid then don't use it.
2007-06-01only do restack checks on windows that are visibleDana Jansens
2007-06-01revert 7246 and simplify action_raiselower a bit, turns out 7246 wasn't ↵Mikael Magnusson
needed for that after all
2007-06-01have stacking_restack_request return a bool that says if it did something ↵Mikael Magnusson
with TopIf/BottomIf (other cases always return true)
2007-05-26only auto-activate normal windows when they raise themselves (not splash ↵Dana Jansens
screens or panels or desktops - what desktop would raise itself heh)
2007-05-12fix for fullscreen things getting lowered when switching desktopsDana Jansens
2007-05-11this fixes pypanel.. heh.Dana Jansens
don't activate iconic windows when they raise themselves just raise them. firefox still works so i am happy.
2007-05-10stacking fixes for layersDana Jansens
2007-05-10going down the order so look for a lower layerDana Jansens
2007-05-10make configurerequest activate but net_restack_windows just restack.Dana Jansens
fix bottomif, topif, opposite. fix debug output in event printing when there was no problem
2007-05-10add support for _NET_RESTACK_WINDOWDana Jansens
2007-05-10make restacking much better, yayDana Jansens
no more cludge using actions to raise windows. when a window changes layer it uses add_nonintrusive now so it won't cover the focused window. this way fullscreen windows when they drop down, don't cover up the new focus target. fix add_nonintrusive so that if the window is focused it gets added to the top add back support for ConfigureRequest restacking, this time properly though, using all the detail and sibling modes. but when windows use this to raise they are using some old business and we're going to assume they actually want to activate instead. this means firefox works nicely. yay. ubuntu's firefox has been made to just stop raising entirely though. !
2007-05-06a bunch of thigns got squashed into this commit.. sorry..Dana Jansens
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-04better stacking_add_nonintrusive.Dana Jansens
2007-04-231) translate all of openbox's outputDana Jansens
2) update copyrights. 3) make release. ok that part not quite yet.
2007-04-21fixes for transientsDana Jansens
1) don't count non-normal windows as parents when placing/stacking transients 2) in stacking.c, when a window is transient for the group but has no parents, then don't loop forever looking for its parents
2007-04-18make stacking_add_nonintrusive work when there is only 1 other windowDana Jansens
2007-03-12another silly bug. i rule the school.Dana Jansens
2007-03-12that was a silly mistake. fullscreen windows amongst others will not crash ↵Dana Jansens
now :D
2007-03-12remove the group option for the restacking commands in rc.xml, cuz groups ↵Dana Jansens
are clever now
2007-03-12Rewrite the stacking code. It's a lot faster now, I should think. It's def a ↵Dana Jansens
more clever algorithm. It deals with group transients much better. On that note, utility and menu and toolbar window types are now treated as group transients in terms of stacking and focus and such.
2007-03-11stacking has been made more reliable with groups and group transients.Dana Jansens
this was a pretty invasive change in client.c though, so it may break things? it did expose some bugginess in client_calc_layer, which is now better than ever, hopefully there isn't more to be found.
2007-03-11fix non instrusive stacking adds, they didnt account for layers at allDana Jansens
2006-11-1580 colsMikael Magnusson
2006-08-22update copyright step 2Mikael Magnusson
2006-08-19remove some useless codeMikael Magnusson
2006-08-19fix some warnings from -WallMikael Magnusson
2005-10-07more 64 bit fixesMikael Magnusson
2005-02-08<group> option for raise/lower related actions. hi floam.Mikael Magnusson
2004-03-21yay no tabs in the sourceMikael Magnusson
2003-10-25use g_[s]list_next/previous consistantly, and check for "it" instead of "it ↵Dana Jansens
!= NULL" consistantly. props to Logan again :)
2003-10-15consistant glib type usageDana Jansens
2003-10-10only restack group windows on the same desktopDana Jansens
2003-10-09raise grouped util windows with main windowsDana Jansens
2003-09-17no tabsDana Jansens
2003-09-17add copyright headers, adjust --version output to include copyright, and ↵Dana Jansens
--help output to not include version output.
2003-09-15raise all the windows with the transientDana Jansens
2003-09-15raise all parents with a transientDana Jansens
2003-09-15break focus. or maybe make it better.Dana Jansens
these changes make it work when you alt-tab off a fullscreen window, that it doesnt iconify, and that it is immediately restacked instead of waiting for a FocusIn event to arrive. The code now assumes that if the window says it can focus, that if we focus it, it is focused. add the XDone handler to ObMainLoop, which is fired upon the occurance of there being no more X events to read.
2003-09-14dont raise parents of transients when the transient is raisedDana Jansens
2003-08-31kill a warningDana Jansens
2003-08-25add stacking_below which moves a window to immediately below another window. ↵Dana Jansens
use with care it doesn't enforce transient shit etc..
2003-08-1480 colsDana Jansens
2003-07-26dont stack groups togetherDana Jansens