summaryrefslogtreecommitdiff
path: root/openbox/client.c
AgeCommit message (Collapse)Author
2007-05-16fullscreen only if no decorationsDana Jansens
2007-05-15always ignore errors for client_focus like we used to.Dana Jansens
2007-05-15simplify focus handling a bit. no need to listen to focus going to the frame ↵Dana Jansens
because if it ever does that, the window is unmapping and the frame will just unmap and send it to root. make focus fallback a lil more robust, it checks for errors when it sets focus on the window, and if an error occured it will focus the next option.
2007-05-14also if you hide the focused window, then kill the interactive action so ↵Dana Jansens
focus isnt all confused for the app
2007-05-14don't assert, users can bind stuff however they like. but if they do ↵Dana Jansens
something that moves focus during an interactive action, kill the grab
2007-05-14excep the assert was backwards. hehDana Jansens
2007-05-14big scary g_assert(). interactive actions should never move focus until ↵Dana Jansens
they're done.
2007-05-14get rid of the fullscreen below layer. its the same as maximized windows..Dana Jansens
2007-05-14yay for simplifying code. if we check for errors we dont need the ↵Dana Jansens
"focus_tried" stuff
2007-05-14watch for errors while setting focus on windows, return false if there was ↵Dana Jansens
an error, so fallback and keep looking
2007-05-14fix fullscreen windows being stuck in the wrong layer when they come out ofDana Jansens
fullscreen. add a new layer where fullscreen windows go when are aren't focused, below all normal windows, so you can alt-tab to a below layer window and it will show itself.
2007-05-14remove the dialog option for Desktop action for now. can't change desktop ↵Dana Jansens
during a grab. the dialog for desktop changing will need to change, and then we can add it back
2007-05-14remove this check, it didnt guarantee anything anywaysDana Jansens
2007-05-14the configurenotify needs to come after adjusting the frame's size. ↵Dana Jansens
otherwise it gets messed up somehow.
2007-05-14send a configurenotify on mapping after the window is shownDana Jansens
2007-05-14another little focus cleanup/rearrangement, for focus going to windows thatDana Jansens
are no longer there.
2007-05-14remove some old checking because we're not using window properties to store ↵Dana Jansens
the premax/fullscreen areas. they are always set when the state is turned on. fullscreen to the correct monitor.
2007-05-13rename the openbox_* atoms back to ob_*Dana Jansens
2007-05-13fix error in client_directional_edge_search that ignored all windows in the ↵Mikael Magnusson
same layer
2007-05-13add a debug lineDana Jansens
2007-05-13add support for _NET_WM_ACTION_ABOVE and _NET_WM_ACTION_BELOW which aren't ↵Dana Jansens
in the NETWM spec yet, but will be shortly.
2007-05-13fix drawcontents=noDana Jansens
2007-05-13always send configure notify when windows mapDana Jansens
2007-05-13don't allow focus to move during an interactive grab. if users set up actionsDana Jansens
such that this would happen, then kill the interactive grab before moving focus. this is to avoid NotifyWhileGrabbed FocusOut's
2007-05-13use the right list in client_add_hide_notify, rename destructor to ↵Dana Jansens
destroy_notify which is really what it is, and is more consistant now that there are 2 notifies
2007-05-13likewise if a window is unmanaged and we were trying to give it focus, we ↵Dana Jansens
want to know about it - also if the window gets hidden for some other reason, we also want to know about it. add a notifier for windows being hidden, and use that instead - it handles both cases.
2007-05-13some changes to focus handling.Dana Jansens
most interesting is the change in focus_fallback, which means that it won't call xsetinput focus in some cases, potentially reducing flicker and stuff. also potentially producing bugs? heh. the screen.c focus fallback code doesn't seem to need special cases anymore, which is really good, if that is really the case. move the focus_tried stuff out of event.c into focus.c, where it seems to belong.
2007-05-12remove the edges_hit_layers_below option. don't use windows in other layers ↵Dana Jansens
for resistance
2007-05-11don't show handles on windows that cannot resizeDana Jansens
2007-05-11fix for circular transiencyDana Jansens
2007-05-11oops, debug printsDana Jansens
2007-05-11pick the closest icon instead of always a smaller oneDana Jansens
2007-05-11set the default window gravity to NorthWest.Dana Jansens
only put the bare minimum inside the server grab. adjust the frame decorations in client_manage instead of frame_grab_client remove the last parameter from client_configure_full and just determine it from the other state available. send configurenotifies at all the right times. make windows get restored to their position properly when they have a border
2007-05-10when un-showing the desktop if a window is getting shown, iconify the others ↵Dana Jansens
so just the one is shown
2007-05-10stacking fixes for layersDana Jansens
2007-05-10don't get the layer from the group like that. let new windows go in their ↵Dana Jansens
default layer. they are already kept above their parents.
2007-05-10make the frame before you use the frame..Dana Jansens
2007-05-10set the session stuff before trying to apply per-app settings.Dana Jansens
set the decor/functions after restoring all the stuff from session/per-app too
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-09when a window is fully maxed, make clicking on the titlebar past the edge ↵Dana Jansens
buttons count as clicking on the buttons
2007-05-09mem leakDana Jansens
2007-05-09add support for _NET_REQUEST_FRAME_EXTENTSDana Jansens
2007-05-09support for _NET_WM_USER_TIME_WINDOW round 2 ! yay abstractionDana Jansens
2007-05-09add support for _NET_WM_USER_TIME_WINDOW. round 1 ! ding.Dana Jansens
2007-05-09punctuationDana Jansens
2007-05-08update the client menu when you do stuff without closing it.Dana Jansens
but this means we can't use actions in it. oh well? can kill the desktop notifiers now too. yay for more obvious code paths.
2007-05-08let you move splash screens if you are so inclinedDana Jansens
2007-05-08let windows that cant iconify still iconify with their parents, but not ↵Dana Jansens
non-normal windows. let you focus windows that wouldnt normally by clicking on their decor (if they have any)
2007-05-08but deiconifyDana Jansens
2007-05-08dont iconify if you can'tDana Jansens