summaryrefslogtreecommitdiff
path: root/openbox
AgeCommit message (Collapse)Author
2007-03-18use const char*'s when we should beDana Jansens
2007-03-17oops, logic errorDana Jansens
2007-03-16mention when the logicalx/y is actually returnedDana 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-16animate presses on toggled titlebar buttonsDana Jansens
2007-03-15only refocus the omnipresent window if its allowedDana Jansens
2007-03-15clearer engrishDana Jansens
2007-03-15when an omnipresent window has focus and you switch desktops, keep it focusedDana Jansens
2007-03-14don't fall back focus to omnipresent windowsDana Jansens
2007-03-14make focus_order into one long list instead of having one per desktop. this ↵Dana Jansens
actually fixes bugs with omnipresent windows and adding desktops. it is just overall a little nicer i think. also this is not tested. sorry if it breaks everything.
2007-03-14save the focus_client when falling back, so we don't actually refocus it ↵Dana Jansens
when we don't want to.
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-14make frame and client window in a consistant mapped state when the window is ↵Dana Jansens
grabbed
2007-03-14less wasted updates of wm_stateDana Jansens
2007-03-14focus fallbackMikael Magnusson
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-12remove event_lastttime. use CurrentTime when handling events without a ↵Dana Jansens
timestamp in them
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-12focusins can occur on windows that aren't clients when there's latency ↵Dana Jansens
involved. wm_torture proved this point. fallback in that situation. also fallback when nothing is focused.
2007-03-12don't validate inside client_focus. instead, validate before you call it!Dana Jansens
2007-03-12validate clients before trying to focus them in fallbackDana Jansens
also validate before trying to set the focus on a window this should fix those crashes, and should just be better over all
2007-03-12update focus_hilite appropriately for when changing desktopsDana Jansens
2007-03-12i rewrote handling of focus events. this is pretty much based on blackbox's ↵Dana Jansens
current form, as well as reading the xlib programming manual at: http://tronche.com/gui/x/xlib/events/input-focus/normal-and-grabbed.html this may break for people. that'd be nice to hear about, so it can be fixed. but hopefully this is more robust. it sure is a lot more simple.
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-12roll back focus fallback change, so it behaves well with new stackingDana Jansens
2007-03-12ok this is from prevous changes but has a bunch of debug stuff in itDana Jansens
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-12no separator at the start of the menuMikael Magnusson
2007-03-12make the combined client list menu not suck quite as badMikael Magnusson
2007-03-12update copyright notice in --version outputMikael Magnusson
2007-03-11We were grabbing SubstructureNotifyMask on the root window. I don't know ↵Dana Jansens
why.. It meant that we got unmap notifies for windows we weren't even managing and stuff. It ended up breaking VLC when it mapped-unmapped-mapped a window. We grab StructureNotify for all the clients, so I am not sure why this was ever there.
2007-03-11extra braces.. why does the world hate me so?Dana Jansens
2007-03-11.. i am pretending to be mika :D :D ok this time for realDana Jansens
2007-03-11oh.. wasted verbosity.. *strums guitar*Dana Jansens
2007-03-11rewrite the focus steal prevention code to clean it up hopefully a bit. also ↵Dana Jansens
don't steal focus from globally active focus model clients
2007-03-11Honor transient_for=Root, even thought this is crap and breaks some KDE ↵Dana Jansens
stuff. Also include a big comment as to why this is suck.
2007-03-11make smart placement more smart with multiple monitors. hopefully?Dana Jansens
2007-03-11client_configure_full is trying to move a window, it shouldn't determine the ↵Dana Jansens
window's monitor from its current position, but from the new position instead. move client_monitor()'s logic into screen, more generically, and let client_configure_full use that
2007-03-11fallback to transient parents properlyDana Jansens
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-11allow setting startupnotify per execute action, default to disabled. use ↵Mikael Magnusson
like this: <action name="execute"><execute>program</execute><startupnotify><enabled>true</enabled><name>something descriptive</name><icon>name of an icon in the icon theme to show</icon></startupnotify</action>
2007-03-11look for more things to cancel startup notification on, from the wmclass. if ↵Dana Jansens
the wmclass is related to the name or the binary name, then it will cancel it also. this is so that oldschool stuff doesn't thing its opening forever.