summaryrefslogtreecommitdiff
path: root/openbox/client.c
AgeCommit message (Collapse)Author
2007-05-22dont use the client's area rect when figuring out where to place it because ↵Dana Jansens
then when you want to move ti there, it thinks that it is already there! i actually fixed another bug recently that would have affectd this before but now it should work perfect..
2007-05-22adjust the frame's size before placing the window so we know how much decor ↵Dana Jansens
it has
2007-05-22fix showing the resize cursors at the right times.Dana Jansens
fix losing the pre-size/position for windows mapped maximized or fullscreen states (and on restart)
2007-05-22we put desktop windows on all desktops so dont let them move.Dana Jansens
make sure the window can move/resize when shutting down and restoring its geometry
2007-05-22missing another break; ! wowDana Jansens
2007-05-22missing a break; hehDana Jansens
2007-05-22better ordering so you can unmaximize maximized windows.. but you cant ↵Dana Jansens
resize them
2007-05-22you can't resize fully maxed windowsDana Jansens
2007-05-21some repositioning of frame elements for maximized windows.Dana Jansens
fix clicking on borders not counting as the button in that corner for full max windows disable the resize cursors for full max windows
2007-05-21maybe the user time stuff should be more like other wm implementtions and ↵Dana Jansens
less in the way
2007-05-21use simple pattern matching for per-app settings. all rules that match are ↵Dana Jansens
applied to a window rather than just the first
2007-05-20fix windows moving to monitors other than their own. client_find_onscreen ↵Dana Jansens
uses their desired coordiantes instead of their old ones
2007-05-19remove a function that is no longer used. and backwards boolean algebra was ↵Dana Jansens
causing us to not ignore the right enter events
2007-05-18super correct enter event ignoring that will only ignore what it has to, yay?Dana Jansens
2007-05-17add an atom ob_wm_action_undecorate to match with ob_wm_state_undecorated, ↵Dana Jansens
so stuff could know if the window can be undecorated
2007-05-17don't let the user toggle decorations on widnows that don't have any ↵Dana Jansens
decorations to toggle
2007-05-17kill enter events without using pointer grabsDana Jansens
2007-05-17rename client_configure_full to client_configureDana Jansens
2007-05-17grab the pointer when windows move them selves so no enter events happen. i ↵Dana Jansens
wonder if this will cause but reports. it still does for restacking though.. little cleanup in client.c, and remove client_configure macro which was now redundant
2007-05-17grab the pointer accross actions run by the applications, the same as forDana Jansens
actions run by the user
2007-05-17"fullscreen" windows that are undecorated by the user do not count as legacy ↵Dana Jansens
fullscreen windows
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