summaryrefslogtreecommitdiff
path: root/openbox/client.c
AgeCommit message (Collapse)Author
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-02Merge branch 'backport' into workDana Jansens
2008-03-02don't steal focus from windows you are typing in, even if the new window is ↵Dana Jansens
a relative
2008-03-01queue hooks so that they don't run as each thing happens, instead run them ↵Dana Jansens
at the end. keep the openbox code paths fast.
2008-02-29change some of the hooks, and add all the hooks to the code so that they runDana Jansens
2008-02-29Merge branch 'backport' into workMikael Magnusson
Conflicts: openbox/client.c openbox/screen.c
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-28Simplify client_set_state.Mikael Magnusson
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-27Merge branch 'backport' into workMikael Magnusson
Conflicts: openbox/client.c openbox/event.c openbox/event.h
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-26Merge branch 'backport' into workDana Jansens
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-22Merge branch 'backport' into workDana Jansens
Conflicts: openbox/menuframe.c openbox/prompt.c openbox/prop.c openbox/prop.h
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-14Merge branch 'backport' into workMikael Magnusson
Diffing against the old work branch where most of the changes in backport were cherry-picked from indicates this should be alright. (0de9097017d4d1991388a35e380a57dc1135b431)
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-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-09commit d9d580e0382 broke kdesktop again, so we have to fix it at an even ↵Dana Jansens
finer level. make a pending ReplayPointer happen before moving/showing/hiding a window in an action
2008-02-07tell what signal is going to be sent to the client when killing through the ↵Dana Jansens
dialog
2008-02-07don't kill our own ObPrompt windows with kill actionsDana Jansens
2008-02-07if 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-07prompt to kill windows when they are not respondingDana Jansens
2008-02-07let 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-07key input works for ObPrompt windows nowDana Jansens
2008-02-07make the prompt buttons respond to button presses. keyboard input code is ↵Dana Jansens
there too but not working yet.
2008-02-07Make ObPrompt windows get managed as clients, and make them able to ↵Dana Jansens
reconfigure as well.
2008-02-02Merge branch 'backport' into workDana Jansens
Conflicts: openbox/client.c openbox/event.c openbox/mouse.c openbox/openbox.c openbox/prop.c openbox/prop.h openbox/screen.c parser/parse.c parser/parse.h
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-31Merge branch 'backport' into workDana Jansens
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