summaryrefslogtreecommitdiff
path: root/openbox/client.c
AgeCommit message (Collapse)Author
2008-03-08Remove double newlines.Mikael Magnusson
2008-03-06don't set variables twiceDana Jansens
2008-03-06fix the check for if a relative is focused on mapDana Jansens
2008-03-06when a window pops up a child, don't avoid focusing it because you were ↵Dana Jansens
working in its parent window before this. that's probably what made the window appear in the first place
2008-03-02allow prompts to have titles specified. show a prompt when there are syntax ↵Dana Jansens
errors in the xml config files.
2008-03-02add a cleanup callback to the prompt interface. when the prompt's callback ↵Dana Jansens
returns TRUE, then the cleanup function is called. likewise when the prompt system is shutdown (openbox is exiting), then the cleanup function is also called. it should unref/destroy the prompt and any memory associated with it
2008-03-02don't steal focus from windows you are typing in, even if the new window is ↵Dana Jansens
a relative
2008-02-28If a window is maximized and has FUNC_MAXIMIZE disabled, still let it ↵Dana Jansens
unmaximize. When normal hints change and we reconfigure, the w/h of the window may not have changed - rather the minw/maxh etc may have changed. So in client_try_configure always run through the code that checks them to see if the client should be resized or whatever.
2008-02-28Try to fix the off-by-one errors even more.Mikael Magnusson
2008-02-28fix some off-by-one errors in edge finding for moving and resizing windows ↵Dana Jansens
(bug 3506)
2008-02-27When showing a window's title in the kill prompt, if it doesn't have a title ↵Dana Jansens
use its parent's (same way the focus cycle popup does)
2008-02-26Change the kill prompt buttons to "Cancel" and "End Process"/"Disconnect" ↵Dana Jansens
(for local/remote apps)
2008-02-27Fix some typos and style in client.c, and add a comment.Mikael Magnusson
Also moves a comment from many places into one place.
2008-02-27Make "Unnamed Window" translatable.Mikael Magnusson
2008-02-27Pass TRUE instead of FALSE to do what the comment says.Mikael Magnusson
2008-02-26change the buttons in the kill prompt from "yes/no" which can be a little ↵Dana Jansens
confusing to be more clear "cancel/force exit" so people won't do the wrong thing by accident so much
2008-02-22Allow windows to specify a base-size of 0Dana Jansens
This fixes the resize popup for terminal windows, if the base-size was 0, the size popup would be off by one.
2008-02-22Let ObPrompts be modal dialogs, and when they are transient for a window, ↵Dana Jansens
make it transient for its entire group, so it can be stacked at the highest level above other transients
2008-02-14Introducing the icon cache.Dana Jansens
If an icon is the same as one in the cache, then it uses that one. icons of different sizes (from the same client) are linked together into one, and resizes of icons are cached and linked to all the various sizes. so you only need one icon in memory for all your terminals now. ya!
2008-02-14don't ping everything all the time. yay. ping when you close, and if it ↵Dana Jansens
doesn't reply then show the kill prompt. also show a more correct prompt for windows connecting from non-local machines - ask to disconnect them from the X server.
2008-02-14tell what signal is going to be sent to the client when killing through the ↵Dana Jansens
dialog
2008-02-14don't kill our own ObPrompt windows with kill actionsDana Jansens
2008-02-14if a prompt is already showing and you try show it again, then make it ↵Dana Jansens
active. in the "kill this?" prompt use the window's original title without any of the openbox-appended-ness
2008-02-14prompt to kill windows when they are not respondingDana Jansens
2008-02-14let you specify return codes for the different buttons in a prompt, and ↵Dana Jansens
specify a callback function for the prompt for when it is closed
2008-02-14key input works for ObPrompt windows nowDana Jansens
2008-02-14make the prompt buttons respond to button presses. keyboard input code is ↵Dana Jansens
there too but not working yet.
2008-02-14Make ObPrompt windows get managed as clients, and make them able to ↵Dana Jansens
reconfigure as well.
2008-02-14let you match per-app settings based on the window typeDana Jansens
2008-02-14Make a pending ReplayPointer happen before moving/showing/hiding a window in ↵Dana Jansens
an action. Commit c907f5af4ad16b1 broke kdesktop again, so we have to fix it at an even finer level.
2008-02-02make fullscreen windows more xinerama and multi-screen awareDana Jansens
instead of calling it every time a window loses focus, it is only called when a window gains focus. then, check fullscreen layered windows, if they should be moved to a lower layer. when moving a window between monitors, also check its layer and that of any fullscreen windows. let a window stay in the fullscreen layer even when it is not focused, if it is on a non-visible desktop, or if it is on a different monitor from the focused window, or if nothing else is focused
2008-01-31when checking that a window is onscreen, if there are screens with higher ↵Dana Jansens
indices than where it appeared, they would trump things and force the window onto the first screen. now, only assume the window is on no screens if it actually is on no screens
2008-01-31don't deiconify windows on reconfigure if they cant be iconified directly. ↵Dana Jansens
stop managing windows in reverse order on restart it messes up the dock among other things
2008-01-28reordering things when mapping windows a little to work with iconified ↵Dana Jansens
windows with iconified toolbars on restart. (e.g. ooffice)
2008-01-27fix a rare assert condition (window maps in iconic state but is not allowed ↵Dana Jansens
to be iconic)
2008-01-27only store icons for windows that are 64px or smaller, as we don't have need ↵Dana Jansens
for any bigger icons at this time. unless they only provide icons bigger than that, then just store one of them (the smallest)
2008-01-25fix a memleak in client_update_icon_geometryDana Jansens
2008-01-25fix a mem leakDana Jansens
2008-01-20check them startupnotify-provided wmclass against both parts of a window's ↵Dana Jansens
wm_class hint, as the spec doth say so.
2008-01-16make the ping hash tables work correctly. don't need to stop pinging, it ↵Dana Jansens
will automatically. and not all windows get pings, even tho we get notified that they are being destroyed
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-15add a commentDana Jansens
2008-01-15cant consistently tell if we should use WM_DESTROY after the first time they ↵Dana Jansens
try close a window.. so just kill when "not responding" is showing
2008-01-15only ping windows that we need toDana Jansens
2008-01-15ping all the windows every 3 seconds, and show "not responding" if they stop ↵Dana Jansens
replying for 3 times (9-12 seconds). show [Killing...] in the titlebar when trying to kill an app off
2008-01-15its possible we did kill -TERM and it stayed alive and started responding ↵Dana Jansens
again, so handle that case
2008-01-15when you close an app and it stops responding.. if you hit close again, it ↵Dana Jansens
will try kill -TERM. if that fails and you close again, it will kill -9 ! (assuming the app is running on the local host and provided its PID)
2008-01-15when you close a window that you already tried to close and its not ↵Dana Jansens
responding to pings, then do a kill the next time
2008-01-15show [Not Responding] in the titlebar when closing an app and it stops ↵Dana Jansens
responding to pings
2008-01-15can tell when a window that was "closed" has stopped responding nowDana Jansens