summaryrefslogtreecommitdiff
path: root/openbox/client.c
AgeCommit message (Collapse)Author
2010-01-11More work on refreshing the focus cycle dialog when windows are ↵Dana Jansens
added/removed from the valid focus order
2010-01-11Add _OB_VERSION and _OB_APP_ROLE/CLASS/NAME/TYPEDana Jansens
Add _OB_VERSION property on the root window. Change _OB_ROLE/CLASS/NAME to _OB_APP_*. Add _OB_APP_TYPE which has a string for the type chosen for the window on mapping by Openbox. Adjust the rc.xml to match these changes.
2010-01-11Redraw the focus cycle popup when the list of focusable windows changes, ↵Dana Jansens
rather than closing it
2009-12-11Set hints that remember the WM_WINDOW_ROLE and WM_CLASS properties for our ↵Dana Jansens
users. The hints are _OB_ROLE, _OB_NAME, and _OB_CLASS.
2009-12-09Make the edge detection fully include monitor edges.Dana Jansens
This fixes the move-to-edge behaviour, when moving past the edge of a monitor, the window will stop with its tail edge against the inside of the monitor's edge.
2009-12-09Properly react when a client's strut changes.Dana Jansens
Previously it would only react if the height of the strut changed, not if its start/end changed (that was a long-standing bug).
2009-12-09Fix the Focus/Activate actions to focus windows on other desktops correctlyDana Jansens
2009-12-09Allow skip_taskbar windows to be focused on map when the user requests it in ↵Dana Jansens
rc.xml. Fixes bug #4350
2009-12-08Don't hilite new windows when we're restoring them from a saved session.Dana Jansens
2009-12-08Fix client_activate() to work for internal Openbox menusDana Jansens
client_activate() is a helpful way to focus a window on another desktop, but only Openbox is allowed to do such things, user messages cannot.
2009-12-08Don't kill keygrabs when focus moves.Dana Jansens
Applications should be better behaved by now, and GTK based apps seem to be at least. We can file bug reports with them if we need to still.
2009-12-08Change _net_active_window behaviour.Dana Jansens
Move focus on _net_active_window "app" requests if focus stealing would be allowed. If focus is not given to the target window and it is hilited (or any other situation where it is hilited) and the window is on another desktop, then also raise it and make it the LRU window, so when you switch desktops you go right to it.
2009-11-21Don't ever give borders to windows that didnt have them before by making ↵Dana Jansens
them "undecorated" with the keepborder config option on. This fixes what commit 85f39cd27e7ea0eec8bc78f6139092b44fda2dad fixed for the fullscreen window case, but also fixes bug #4344.
2009-09-20Reload motif wm hints when property changesMikael Magnusson
Google's chrome does this when you toggle window decorations. Based on patch in #4250 by Daniel Erat.
2009-07-04client_validate should return FALSE only for UnmapNotifies that will cause ↵Dana Jansens
the window to become unmanaged
2009-07-03Show window role in the debug message for name/class too.Mikael Magnusson
2009-07-03Fix for #3715, app settings applied too late.Mikael Magnusson
This caused problems for placing windows with decor turned off, the placement code thought they had it on.
2008-11-10Fix a problem pointed out by clangMikael Magnusson
openbox/client.c:269:10: warning: incompatible pointer types passing 'gint *', expected 'guint32 *' if (!OBT_PROP_GET32(self->window, NET_WM_USER_TIME, CARDINAL, &user_time)) ^~~~~~~~~~~~~~
2008-11-05Don't move windows to current desktop on net_active_window if the event ↵Mikael Magnusson
didn't come from the user. Instead, just activate the flashy thinger.
2008-10-29_NET_WM_USER_TIME=0 means don't focus the new window.Mikael Magnusson
2008-10-27Show name/class when mapping in debug mode.Mikael Magnusson
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