Commit message (Collapse) | Author | Lines | ||
---|---|---|---|---|
2014-01-28 | The EWMH spec states that if the cardinal returned is 0xFFFFFFFF (-1) | okan | -3/+12 | |
then the window should appear on all desktops, which in our case is assigned to group 0. Found to fix stalonetray due to the non-ewmh aware range checking in group_movetogroup(); from Thomas Adam. | ||||
2014-01-22 | Somewhat streamline event loop/restart/quit handling; most notable | okan | -11/+7 | |
change allows a restart to trigger proper teardown first, even though teardown is not (yet) complete. After some discussion with oga@nicotinebsd.org regarding a more complicated version/idea. | ||||
2014-01-20 | merge KBFLAG_NEEDCLIENT and MOUSEBIND_CTX_*; brings kbfunc and mousefunc | okan | -4/+4 | |
bits even closer. | ||||
2014-01-03 | use consistent types | okan | -3/+3 | |
2014-01-02 | Accept _NET_CURRENT_DESKTOP ClientMessage; from Thomas Adam, though | okan | -2/+8 | |
instead of group toggle, group only. | ||||
2014-01-02 | Accept _NET_WM_DESKTOP clientmessage; from Thomas Adam | okan | -1/+5 | |
2014-01-02 | bring mousefunc closer to kbfunc | okan | -2/+2 | |
2013-12-13 | stray space and sort while here | okan | -5/+4 | |
2013-12-13 | Add support for XUrgency and matching _NET_WM_STATE_DEMANDS_ATTENTION | okan | -1/+2 | |
ewmh hint; urgencyborder is configurable. The urgency flag will stick, even while on a client in a non-viewable group, until the client receives focus (where the border is reset). Initial diff from Thomas Adam with some changes/enhancements from me. | ||||
2013-12-12 | ICCCM explicitly states that server time (CurrentTime) should *not* be | okan | -1/+3 | |
used for focus events, but rather the timestamp of the generated event. Track the last event timestamp and send it down for a WM_TAKE_FOCUS ClientMessage. I suspect we should do this for clients that don't announce this Atom as well, though the raciness gets us into a bind. Solves focus order issue since WM_TAKE_FOCUS; fix verified by sthen@ ok sthen@ | ||||
2013-12-11 | Add client wrapper for XWMHints to support XA_WM_HINTS in PropertyNotify | okan | -1/+4 | |
events; based off a diff from Thomas Adam. | ||||
2013-12-11 | Remove extra work and simplify client state handling. | okan | -3/+2 | |
2013-12-02 | Since we use IconicState as our hidden state, check for the hidden flag | okan | -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. | ||||
2013-11-27 | Remove the option to bind a key by keycode with brackets; it never | okan | -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. | ||||
2013-11-27 | Rewrite active/inactive client handling in client_setactive(); | okan | -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. | ||||
2013-11-12 | Alter the r1.35 of event.c race fix. Remove the forward looking event | okan | -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. | ||||
2013-10-25 | A client_delete should behave differently depending on whether the | okan | -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. | ||||
2013-07-15 | collapse lines | okan | -7/+5 | |
2013-07-15 | simplify atom handling; allows us to limit to one round-trip to server | okan | -6/+6 | |
for gathering Atoms. | ||||
2013-07-10 | bring buttonpress and keypress event handlers slightly closer together | okan | -9/+8 | |
2013-07-08 | move kbfunc and mousefunc closer together | okan | -3/+3 | |
2013-07-08 | whitespace and style fixes; from Tiago Cunha and one from me. | okan | -2/+2 | |
2013-06-10 | move synthetic responses and have client_msg only work with WM_PROTOCOLS, | okan | -2/+2 | |
since that's all ClientMessageEvent is for anyway. | ||||
2013-06-10 | Check for, and honour, CWStackMode and CWSibling change requests during a | okan | -2/+6 | |
ConfigureRequest event. Additionally, honour a border width change; detailed report and patch from Mike Small. | ||||
2013-05-23 | alter conf_grab(_kbd) to first ungrab AnyKey/AnyModifier, then proceed | okan | -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. | ||||
2013-05-21 | handle _NET_WM_STATE ClientMessage; from Alexander Polakov. | okan | -1/+5 | |
2013-05-20 | stray whitespace | okan | -2/+2 | |
2013-05-20 | handle _NET_ACTIVE_WINDOW ClientMessage; from Alexander Polakov. | okan | -2/+10 | |
2013-05-19 | add support for _NET_CLOSE_WINDOW | okan | -1/+4 | |
2013-05-19 | treat WM_CHANGE_STATE like other atoms | okan | -6/+3 | |
2013-05-19 | simplify | okan | -8/+7 | |
2013-05-11 | new -> init | okan | -2/+2 | |
2013-05-10 | more type fixes for mask/button | okan | -2/+2 | |
2013-05-10 | int type fixes | okan | -2/+2 | |
2013-05-10 | fix KeySym type | okan | -2/+3 | |
2013-04-29 | use an int in screen_init and avoid needing to cast for screen number (which). | okan | -2/+2 | |
2013-04-05 | zap stray whitespace | okan | -2/+2 | |
2012-12-18 | define LockMask|Mod2Mask; no functional change | okan | -5/+3 | |
2012-11-09 | sort | okan | -2/+2 | |
2012-11-07 | missing headers; from Thordur Bjornsson. | okan | -1/+2 | |
2012-09-12 | revert previous for now until a way to test more than a few encodings is found | okan | -5/+5 | |
2012-09-10 | be explicit in which key masks we allow during keypress and buttonpress | okan | -5/+5 | |
events; from Alexander Polakov - makes non-us layout reliable. | ||||
2012-07-13 | re-use geom struct in client_ctx (saved)geometry. | okan | -7/+7 | |
2012-07-13 | convert xmax/ymax uses to view geometry. | okan | -3/+3 | |
2012-07-06 | querying for Xinerama should be done per display, not per screen, so | okan | -2/+1 | |
move chuck to display init; allows some shuffling to occur limiting screen_init_xinerama()'s scope while keeping order intact. | ||||
2012-07-05 | the display's width and height are updated after an XRandR event so we | okan | -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. | ||||
2012-07-03 | re-implement atom handing; makes for a normalized and more consistent | okan | -2/+2 | |
separation between cwm and ewmh. seen by a few. | ||||
2012-05-16 | get rid of more stray lines/spaces | okan | -3/+1 | |
2012-05-16 | cycle through other common cycling modifiers; based on a diff from | okan | -17/+11 | |
Alexander Polakov. ok sthen@ | ||||
2012-05-16 | convert from deprecated XKeycodeToKeysym to XkbKeycodeToKeysym | okan | -4/+4 | |
ok sthen@ |