summaryrefslogtreecommitdiff
path: root/openbox/stacking.c
AgeCommit message (Collapse)Author
2014-10-20Make RaiseLower work for the dock as wellMikael Magnusson
As a side effect, _NET_RESTACK_REQUEST now also allows specifying the dock as the sibling.
2011-01-24Use g_list_find instead of weird bouncing loopsMikael Magnusson
2010-06-14keep stacking_list_tail a pointer to the tail of the stacking listDana Jansens
2010-04-20add asserts to make sure we don't add things to stacking list that are not ↵Dana Jansens
managed
2009-12-11Merge branch 'backport' into workDana Jansens
Conflicts: openbox/config.c openbox/event.c openbox/prop.c openbox/prop.h openbox/screen.c openbox/screen.h
2009-12-09Fix stacking for transients vs helper windows. Fixes bug #3851Dana Jansens
This allows transient windows to be above helper windows. And generally keeps helper windows below transients, unless they are raised directly.
2009-11-07Make clang happierMikael Magnusson
Add asserts to default: in switch statements Store pointed to variables locally so it knows they don't change Remove some dead assignments Mark ob_exit_with_error as noreturn Use "%s", msg instead of just msg to printf style functions Use the c_pfocus variable
2008-02-07Merge branch 'backport' into workDana Jansens
Conflicts: openbox/config.c
2008-02-02when focusing or raising a window which is modal child for a direct parent, ↵Dana Jansens
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-01-31make ob_debug use the g_log system, and make openbox log messages to..a log ↵Dana Jansens
file ! this will help everyone since most people do not run openbox in a terminal..
2008-01-31Merge branch 'backport' into workDana Jansens
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-31make an obt_root() macroDana Jansens
2008-01-27add a missing #includeDana Jansens
2008-01-25skip enter events caused by temporarily raising windows during alt-tab. ↵Dana Jansens
also caused by the focus cycle indicator moving
2008-01-20make the obt library branch compile again with all the changes merged in ↵Dana Jansens
from backport
2008-01-20make openbox use the obt prop.c/h stuffDana Jansens
holy search and replace batman
2008-01-20s/ob_display/obt_display/ and remove ob_displayDana Jansens
2008-01-16Various fixes for sparse warnings.Mikael Magnusson
Define void functions with (void), not (). Add missing includes. Some functions were declared static but defined non-static. Some variables that should be file static were file global but not used in any other file. prop.h defined a new prop_atoms in each file that included it instead of declaring it extern.
2008-01-11freeze onscreen stacking order changes while a temp raise for focus cycling ↵Dana Jansens
is occuring
2008-01-11make it possible to temporarily raise a window to the top, and restore it. ↵Dana Jansens
also fix the return val for window_layer.
2007-09-04ANSI function declarations, ie () -> (void)Mikael Magnusson
2007-09-04Fix shadowed variablesMikael Magnusson
2007-07-17remove trailing whitespaceMikael Magnusson
2007-07-11child/parents don't get included in tests for occluding/occluded windows, ↵Dana Jansens
because they always will be above/below eachother!
2007-06-21don't activate on raiseDana Jansens
2007-06-14let you lower a window without lowering its children, or its siblingsDana Jansens
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