Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Remove extra work and simplify client state handling. | okan | 2013-12-11 | -3/+2 |
| | ||||
* | Since we use IconicState as our hidden state, check for the hidden flag | okan | 2013-12-02 | -3/+5 |
| | | | | | | | | and unmanage the client if we're not hidden (basically if NormalState) during an UnmapNotify event. Resolves an issue with mplayer going fullscreen while not using NetWM hints; behaviour regression reported by Ido Admon. | |||
* | Remove the option to bind a key by keycode with brackets; it never | okan | 2013-11-27 | -4/+2 |
| | | | | | | | worked (and no one complained!). While it's fairly easy to fix, users should be using keysym names and not keycodes. Discussed at length months ago with todd@, matthieu@ and Owain. | |||
* | Rewrite active/inactive client handling in client_setactive(); | okan | 2013-11-27 | -17/+6 |
| | | | | | | | | | | | client_leave() served no real purpose, likewise no reason to handle LeaveNotify events since an EnterNotify will process the next active client (and we don't have anything important to process anyway), so xev_handle_leavenotify() goes as well. Allows a simplification of client_mtf() and client_cycle_leave() for clarity. While here, unify a few client_current() checks. No intended behaviour change. | |||
* | Alter the r1.35 of event.c race fix. Remove the forward looking event | okan | 2013-11-12 | -17/+5 |
| | | | | | | | | | | | | queue check (removing the need for a server grab/ungrab) - if the client is going away, let it fall all the way through to a DestroyNotify event. There's no longer a need for us to manually destroy a client ourselves (removing yet another server grab/ungrab). Instead, when the UnmapNotify event is synthetic, simply set the state to Withdrawn (as per ICCCM), else Iconic (in our case 'hidden'). Verified with test case from the 2009 race which was the original reason for r1.35 of event.c. | |||
* | A client_delete should behave differently depending on whether the | okan | 2013-10-25 | -3/+3 |
| | | | | | | | triggering event was unmap (with pending destroy) log destroy; we only need to grab/ungrab the server lock, set WithdrawnState and XRemoveFromSaveSet clients coming from an unmap event - doing so for clients coming from destroy are already gone, hence we generate errors. | |||
* | collapse lines | okan | 2013-07-15 | -7/+5 |
| | ||||
* | simplify atom handling; allows us to limit to one round-trip to server | okan | 2013-07-15 | -6/+6 |
| | | | | for gathering Atoms. | |||
* | bring buttonpress and keypress event handlers slightly closer together | okan | 2013-07-10 | -9/+8 |
| | ||||
* | move kbfunc and mousefunc closer together | okan | 2013-07-08 | -3/+3 |
| | ||||
* | whitespace and style fixes; from Tiago Cunha and one from me. | okan | 2013-07-08 | -2/+2 |
| | ||||
* | move synthetic responses and have client_msg only work with WM_PROTOCOLS, | okan | 2013-06-10 | -2/+2 |
| | | | | since that's all ClientMessageEvent is for anyway. | |||
* | Check for, and honour, CWStackMode and CWSibling change requests during a | okan | 2013-06-10 | -2/+6 |
| | | | | | ConfigureRequest event. Additionally, honour a border width change; detailed report and patch from Mike Small. | |||
* | alter conf_grab(_kbd) to first ungrab AnyKey/AnyModifier, then proceed | okan | 2013-05-23 | -8/+6 |
| | | | | | | | | to grab keys in keybindingq. we don't need to ungrab/grab on every addition to the queue, just once with a complete keybindingq; simplify grabbing keys per screen (during init) and during a MappingNotify. while here, change conf_grab_{kbd,mouse} to require only a Window. | |||
* | handle _NET_WM_STATE ClientMessage; from Alexander Polakov. | okan | 2013-05-21 | -1/+5 |
| | ||||
* | stray whitespace | okan | 2013-05-20 | -2/+2 |
| | ||||
* | handle _NET_ACTIVE_WINDOW ClientMessage; from Alexander Polakov. | okan | 2013-05-20 | -2/+10 |
| | ||||
* | add support for _NET_CLOSE_WINDOW | okan | 2013-05-19 | -1/+4 |
| | ||||
* | treat WM_CHANGE_STATE like other atoms | okan | 2013-05-19 | -6/+3 |
| | ||||
* | simplify | okan | 2013-05-19 | -8/+7 |
| | ||||
* | new -> init | okan | 2013-05-11 | -2/+2 |
| | ||||
* | more type fixes for mask/button | okan | 2013-05-10 | -2/+2 |
| | ||||
* | int type fixes | okan | 2013-05-10 | -2/+2 |
| | ||||
* | fix KeySym type | okan | 2013-05-10 | -2/+3 |
| | ||||
* | use an int in screen_init and avoid needing to cast for screen number (which). | okan | 2013-04-29 | -2/+2 |
| | ||||
* | zap stray whitespace | okan | 2013-04-05 | -2/+2 |
| | ||||
* | define LockMask|Mod2Mask; no functional change | okan | 2012-12-18 | -5/+3 |
| | ||||
* | sort | okan | 2012-11-09 | -2/+2 |
| | ||||
* | missing headers; from Thordur Bjornsson. | okan | 2012-11-07 | -1/+2 |
| | ||||
* | revert previous for now until a way to test more than a few encodings is found | okan | 2012-09-12 | -5/+5 |
| | ||||
* | be explicit in which key masks we allow during keypress and buttonpress | okan | 2012-09-10 | -5/+5 |
| | | | | events; from Alexander Polakov - makes non-us layout reliable. | |||
* | re-use geom struct in client_ctx (saved)geometry. | okan | 2012-07-13 | -7/+7 |
| | ||||
* | convert xmax/ymax uses to view geometry. | okan | 2012-07-13 | -3/+3 |
| | ||||
* | querying for Xinerama should be done per display, not per screen, so | okan | 2012-07-06 | -2/+1 |
| | | | | | move chuck to display init; allows some shuffling to occur limiting screen_init_xinerama()'s scope while keeping order intact. | |||
* | the display's width and height are updated after an XRandR event so we | okan | 2012-07-05 | -2/+2 |
| | | | | | | don't need to pass down the new values to screen_update_geometry(); so just read the width/height values directly for both uses of screen_update_geometry(). prep for further changes in this area. | |||
* | re-implement atom handing; makes for a normalized and more consistent | okan | 2012-07-03 | -2/+2 |
| | | | | separation between cwm and ewmh. seen by a few. | |||
* | get rid of more stray lines/spaces | okan | 2012-05-16 | -3/+1 |
| | ||||
* | cycle through other common cycling modifiers; based on a diff from | okan | 2012-05-16 | -17/+11 |
| | | | | | | Alexander Polakov. ok sthen@ | |||
* | convert from deprecated XKeycodeToKeysym to XkbKeycodeToKeysym | okan | 2012-05-16 | -4/+4 |
| | | | | ok sthen@ | |||
* | altpersist->cycling to be more clear that this is for cycling mod | okan | 2012-05-13 | -2/+2 |
| | | | | | persistence; based on a diff from Alexander Polakov, in preparation for looping through other potential cycling modifiers. | |||
* | add WM_TRANSIENT_FOR event support: moves dialogs, toolbars and such to | okan | 2011-09-13 | -1/+4 |
| | | | | | | | the group of the main application window; based on a diff from Alexander Polakov with CLIENT_IGNORE flag suggestion from oga@. ok oga@ | |||
* | A while ago I wrote some code to not warp to ignored windows on map (rev | oga | 2011-08-22 | -6/+1 |
| | | | | | | | | | | 1.52), not realising that the previous (less efficient) fix had already been commited (rev 1.50). Had this in my tree for ages to remove the previous code. Effectively reverts rev 1.50. ok okan@ | |||
* | Correct extern declaration and while here, rename a variable to be | okan | 2011-06-24 | -3/+3 |
| | | | | | | | | pedantic. from Thomas Pfaff. ok oga@ | |||
* | tag and comment cleanup; ok oga@ | okan | 2011-05-11 | -1/+1 |
| | ||||
* | On map, don't warp to windows that are marked as ignored. | oga | 2011-05-06 | -3/+3 |
| | | | | | | | Requested by Christian Neukirchen last august. He provided a patch but the one I wrote was significantly simpler (1 - 2 + in the whole diff). makes sense to okan@. | |||
* | remove XXX and move a configure event out of the event handler functions. | okan | 2011-03-22 | -22/+2 |
| | | | | | | reminded by a similiar diff from Thomas Pfaff. ok oga@ | |||
* | do not warp to clients marked 'ignore'; from chneukirchen at gmail - thanks. | okan | 2010-09-25 | -1/+7 |
| | | | | | | (with the manpage bit from me). ok oga@ | |||
* | pull all non-X11 headers from calmwm.h and place them only where they | okan | 2009-12-15 | -1/+11 |
| | | | | | | are required. encourged to go all the way by oga@ | |||
* | merge the 2 common header files; specific includes to be pulled out as | okan | 2009-12-15 | -2/+1 |
| | | | | | | separate commits. ok oga@ | |||
* | Implement _NET_DESKTOP_NAMES, this one was a bit tricky since thespec | oga | 2009-12-11 | -1/+12 |
| | | | | | | | | | | says that a pager can change the property at any time (most need a clientmessage). So deal with property updates. Needed to shuffle some of the other code around since we can't just use shortcut_to_name[] everywhere now. ok okan@ |