aboutsummaryrefslogtreecommitdiffstats
path: root/xevents.c (follow)
Commit message (Collapse)AuthorAgeLines
...
* handle _NET_ACTIVE_WINDOW ClientMessage; from Alexander Polakov.okan2013-05-20-2/+10
|
* add support for _NET_CLOSE_WINDOWokan2013-05-19-1/+4
|
* treat WM_CHANGE_STATE like other atomsokan2013-05-19-6/+3
|
* simplifyokan2013-05-19-8/+7
|
* new -> initokan2013-05-11-2/+2
|
* more type fixes for mask/buttonokan2013-05-10-2/+2
|
* int type fixesokan2013-05-10-2/+2
|
* fix KeySym typeokan2013-05-10-2/+3
|
* use an int in screen_init and avoid needing to cast for screen number (which).okan2013-04-29-2/+2
|
* zap stray whitespaceokan2013-04-05-2/+2
|
* define LockMask|Mod2Mask; no functional changeokan2012-12-18-5/+3
|
* sortokan2012-11-09-2/+2
|
* missing headers; from Thordur Bjornsson.okan2012-11-07-1/+2
|
* revert previous for now until a way to test more than a few encodings is foundokan2012-09-12-5/+5
|
* be explicit in which key masks we allow during keypress and buttonpressokan2012-09-10-5/+5
| | | | events; from Alexander Polakov - makes non-us layout reliable.
* re-use geom struct in client_ctx (saved)geometry.okan2012-07-13-7/+7
|
* convert xmax/ymax uses to view geometry.okan2012-07-13-3/+3
|
* querying for Xinerama should be done per display, not per screen, sookan2012-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 weokan2012-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 consistentokan2012-07-03-2/+2
| | | | separation between cwm and ewmh. seen by a few.
* get rid of more stray lines/spacesokan2012-05-16-3/+1
|
* cycle through other common cycling modifiers; based on a diff fromokan2012-05-16-17/+11
| | | | | | Alexander Polakov. ok sthen@
* convert from deprecated XKeycodeToKeysym to XkbKeycodeToKeysymokan2012-05-16-4/+4
| | | | ok sthen@
* altpersist->cycling to be more clear that this is for cycling modokan2012-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 tookan2011-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 (revoga2011-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 beokan2011-06-24-3/+3
| | | | | | | | pedantic. from Thomas Pfaff. ok oga@
* tag and comment cleanup; ok oga@okan2011-05-11-1/+1
|
* On map, don't warp to windows that are marked as ignored.oga2011-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.okan2011-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.okan2010-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 theyokan2009-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 asokan2009-12-15-2/+1
| | | | | | separate commits. ok oga@
* Implement _NET_DESKTOP_NAMES, this one was a bit tricky since thespecoga2009-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@
* Implement _NET_CURRENT_DESKTOP, _NET_DESKTOP_VIEWPORT andoga2009-12-10-3/+2
| | | | | | _NET_DESKTOP_GEOMETRY. ok okan@
* finish unfucking the screen_ctx handling.oga2009-12-10-14/+14
| | | | | | | | | | | | | remove screen_current() it was utterly bogus when nscreens > 1. pass a fake client_ctx in the case where there's no client and the kbfunc or mousefunc doesn't need a real one, it just contains the current screen, modify these functions so that they pass down the screen context to their callees. make groups per screen, it's the only way it makes sense in this regard. ok okan@.
* style (whitespaces)tobias2009-11-28-2/+2
| | | | ok oga, okan
* unroll the CCTOSC macro; from Thomas Pfaffokan2009-08-27-2/+2
| | | | ok oga@
* bring together gathering, calculating and applying of size hints;okan2009-08-24-3/+2
| | | | | | additionally, respect aspect ratio hints. ok oga@
* Rip out the event layer and just use a static array of callbacks likeoga2009-05-18-200/+75
| | | | | | | | | | every other window manager since twm. The event layer is very nice, very shiny, very flexible, and very much underutilised. We don't need any of those shiny features so it's probably better to earn ourselves 1k smaller text size instead. ok todd@, okan@
* fix the other 50% of xrandr cases; reported by sthen@okan2009-05-01-9/+11
| | | | "commit that" oga@, ok sthen@
* - avoid shadowed Mask declaration in menu_filtermartynas2009-03-28-2/+2
| | | | | - make _xev_reincorporate static evmask naming oga@, input okan@. ok okan@, oga@
* Move the keybinding argument to a union to prevent warnings whereoga2009-01-23-2/+2
| | | | | | sizeof(int) != sizeof(void *). This has been annoying me for ages. ok okan@, todd@
* now that pwin is gone gone gone, we no longer have to do the bwidthokan2009-01-22-9/+10
| | | | | | | dance; xevents now able to deal with a border being set (which fixes those annoying movie-watching apps). ok todd@, oga@
* remove unusedokan2009-01-17-12/+2
| | | | ok oga@
* Finally fix the really annoying race where if you rapidly switch groups severaloga2009-01-17-15/+22
| | | | | | | | | | | | | | | | | | | | | | times you'd end up losing clients (thinking they had gone away). From the ICCCM (which should not be read without a stiff drink in hand, I made this mistake so you don't have to): to request a window to be withdrawn one should send a synthetic UnmapRequest event when iconified. To request iconification one should just unmap the window. The ICCM further recommends that the synthetic event should just be taken as a cue to withdraw, to deal with legacy clients. Taking a hint from this, rework xev_handle_unmaprequest to correctly detect these situations. A Withdrawn window may come back anywhere, even as a subwindow of something else, so the correct way to handle this state is to forget it ever existed. While i'm here, kill a dumb attempt to notice this in client_delete, and nuke the very unnecessary arguments. Todd confirmed this fixes the `race'. ok todd@, ok ok okan@
* revert just the 'race fix'; more works needs to be ironed out withokan2009-01-16-2/+2
| | | | | | events and state. agreed by oga
* remove pwin, bringing us to one client, one window. we no longer haveokan2009-01-16-36/+17
| | | | | | | | | | | | to push attributes around, so things get a lot simplier, while fixing a few issues in the meantime; original suggestion by Edd Barrett many many moons ago. annoying window placement and race, found in c2k8 by todd, fix by oga! lots of feedback from todd and oga - thanks! "commit that bad boy" oga@
* remove unused variablesokan2009-01-11-2/+1
| | | | ok oga@
* remove unused codeokan2009-01-06-3/+1
| | | | ok oga@