summaryrefslogtreecommitdiff
path: root/openbox/client.c
AgeCommit message (Collapse)Author
2007-04-24focus_order_remove is called in a few places. move the check for unsetting ↵Dana Jansens
focus_client into client_unmanage.
2007-04-24add support for _NET_WM_SYNC_REQUESTDana Jansens
2007-04-24save windows' colormaps rather than querying them from the server every time ↵Dana Jansens
you focus it
2007-04-24hm, that was a silly error. the propogate mask shouldnt get the Hint thing ↵Dana Jansens
in it.
2007-04-24add the PointerMotionHintMask everywhere, we dont need every mouse eventDana Jansens
2007-04-24in shrinking resize the frame before the clientDana Jansens
2007-04-241. remove some old event handling that was not used at all. yay less bandwidth.Dana Jansens
2. make the client padding color show during resizes with drawContents off
2007-04-23place transients without a parent in the middle of the screenDana Jansens
dont use non-normal windows as parents
2007-04-23focus_client was becoming invalid if the focused client was unmanaged.Dana Jansens
2007-04-23cycling between dock windows now possible with the <panels>yes</panels> optionDana Jansens
2007-04-23include the header that has gethostnameMikael Magnusson
2007-04-23show the hostname of forwarded clients in the titlebarMikael Magnusson
2007-04-23wasteful syncingDana Jansens
2007-04-22stop listening to events on clients that are being unmanaged before ↵Dana Jansens
generating new events
2007-04-22use ignore enters instead of removing them from the queueDana Jansens
2007-04-22don't grab the pointer during interactive events. this allows you to alt-tab ↵Dana Jansens
during a dnd.
2007-04-22eat enter events after unmanaging a windowDana Jansens
change how focus falls back for windows being unmanaged, don't fall back immediately, instead wait for the focus out event and use it (break stuff maybe! yay)
2007-04-22engrishDana Jansens
2007-04-21ignore BadMatch errors that can't be avoidedDana Jansens
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-20remove the client_time_heap thing. actually its better to just use the ↵Dana Jansens
user_time on the currently focused window I think. that will handle panels and things too.
2007-04-18get rid of global client_last_user_time variable.Dana Jansens
add ObClientTimeHeap. This is a max-heap of the clients based on their user times. this only includes the clients whose user time is not CurrentTime. the maximum from this heap replaces the client_last_user_time variable, so that you always have the latest time, not the last time that was changed. hoefully it works, so far it seems to.
2007-04-12saved session information overrides per-app settings, because that's how you ↵Dana Jansens
set it up in the session
2007-04-12set the desktop from per-app-settings properly, i think.Dana Jansens
also fix a compiler warning.
2007-04-12better synthetic configurenotify handling. in particular..Dana Jansens
http://bugzilla.gnome.org/show_bug.cgi?id=399552 on unmap, when we move the client window, we need to send a synthetic configurenotify.
2007-04-12don't fallback when a window is hidden right away, it's redundant, we'll get ↵Dana Jansens
a focusout for the window after the unmapnotify anyways. show new windows when switching desktops before hiding the old windows.
2007-04-05http://mail.gnome.org/archives/wm-spec-list/2006-May/msg00000.htmlDana Jansens
Send ConfigureNotify events when a window is mapped at the position it has specified. When we add decorations, the window gets moved in reference to the root window, so it needs to be told.
2007-03-30fully maximize windows all the time. size increments are preferred sizes not ↵Dana Jansens
required ones. -- http://tronche.com/gui/x/icccm/sec-4.html#s-4.1.2.3
2007-03-28can't use (unsigned)-1 for a max time, because timestamps wraparound and ↵Dana Jansens
stuff. user the last_user_time as a default for new windows instead.
2007-03-28drop some wasted client_validates.Dana Jansens
2007-03-28more handling time wraparoundsDana Jansens
2007-03-28handle time wrapping around.Dana Jansens
2007-03-24watch for reverttoparent reverting to the root window, which will create a ↵Dana Jansens
DetailInferior focusin event on root. adding some debug messages also which I am using..
2007-03-24(no commit message)Dana Jansens
2007-03-24clean up the title getting functionDana Jansens
2007-03-24kill window title numbering...Dana Jansens
probably it was a dumb idea all along. you're not picking the numbers yourself and you're probably not remembering which window they apply to and the focus indicator thinger is much more clever than numbers
2007-03-19not passing timestamps sometimes and not others. set event_curtime when ↵Dana Jansens
client messages provide a timestamp.
2007-03-17oops, logic errorDana Jansens
2007-03-16fix for bug introduced in revision 5643. logical size is supposed to be ↵Dana Jansens
updated only when the window is resized.
2007-03-14oh, 2 things in this commit..Dana Jansens
1) THIS ONE IS IMPORTANT: don't set client->iconfied if the window is not actually going to be allowed to iconify. heh! 2) changes to focus fallback to avoid crashing and to avoid losing focus all at the same time.
2007-03-14move stuff around in client_unmanage to maybe make closing windows a bit nicerMikael Magnusson
2007-03-14refix for managing iconic windows, without having the frame map which caused ↵Dana Jansens
flashing. instead, keep track of if the frame has been mapped yet. if it hasn't and it is getting hidden, then make sure to unmap the child.
2007-03-14a) fix resizerelative moving windows when they reach their minimum size do ↵Dana Jansens
this by... b) adding a function to let you see what size/position a window will be given when you actually try move/resize it to some given values. (client_try_configure)
2007-03-14less wasted updates of wm_stateDana Jansens
2007-03-13comparing strings to random locations in memory is probably not what we ↵Mikael Magnusson
wanted to do
2007-03-13always unfocus the window when it disappears, no special cases.. (except ↵Dana Jansens
unmanage)
2007-03-13set IconicState on windows that are not visible always. this means windows ↵Dana Jansens
on other desktops too. as well, this turned out to be a nice cleanup of the wmstate code. regards to the random dude in #openbox complaining about the ICCCM to make me think to look this up and see if openbox was compliant.
2007-03-13save and restore pre-maximized/fullscreen sizes properlyDana Jansens
much cleanup on how per-app settings are applied to new mapping windows. maybe i broke it? but it'll be much quicker now, and it's consistant with the rest of the code, so hooray for that. pls let me know if i broke any of it :( hee..
2007-03-12fallback is still getting x errors. instead, fallback when the client ↵Dana Jansens
iconifies, and don't fallback when nothing has focus, send it to where we can control things though.
2007-03-12don't validate inside client_focus. instead, validate before you call it!Dana Jansens