| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
|
|
|
|
|
|
| |
containing {P,US}Position requests where they are explicitly set to 'ignore' in
cwmrc(5); clients are unaware that their border will be altered (removed in
this case) when calcuating position and thus end up a factor of their original
border width off once mapped by cwm(1). cwm(1) will essentially shift the
client to the edge if the original request's position and border match.
Window offset noticed by at least Andre Stoebe via bugs@, and others since
(and likely before). Thanks!
|
| |
|
|
|
|
|
|
|
|
|
| |
into the keyrelease event, only performing what's actually needed for each;
should result in much fewer events against keyreleases. No intended behaviour
change.
Additionally, like we do for group membership, grab the keyboard only when
required for cycling.
|
| |
|
| |
|
|
|
|
|
|
|
| |
close to cwm's 'ignore'.
Roughly based on an initial diff from Walter Alejandro Iglesias, but with
support for both Atoms and without cwm-based bindings.
|
|
|
|
| |
borders; based on a patch from Vadim Vygonets.
|
|
|
|
|
|
| |
actions, so as to not lose windows off the edge.
inspired by diffs (and feedback) from Vadim Vygonets.
|
| |
|
| |
|
|
|
|
|
| |
cycle list; seems to match behaviour of other wm's; from Walter Alejandro
Iglesias.
|
|
|
|
|
|
|
| |
to %50 of the area, then fill in the remaining space with the other clients in
the same group; from Gerrit Meyerheim.
support from ajacoutot.
|
|
|
|
|
|
| |
may also change.
from Vadim Vygonets
|
|
|
|
|
| |
final position is at least viewable and warp'able by the difference of bwidth;
prevents mapping windows completely off the virtual screen.
|
| |
|
|
|
|
| |
(re)calculating only when applying hints.
|
|
|
|
|
|
|
|
| |
client_ctx in keypress and buttonpress event handlers; pass appropriate *ctx's
based on context.
While here, limit some globals, replace defines with appropriate variables and
fix some naming.
|
|
|
|
|
| |
actions do ptrsave, such as restoring client geometry; adapted from a
diff by Vadim Vygonets.
|
|
|
|
| |
needed/used.
|
|
|
|
| |
well as give 'sticky' groups its own variable.
|
|
|
|
|
| |
requests); most callers do this already - deal with the few that do not.
client_ptrwarp becomes a simple wrapper (setpos) but it will be expanded.
|
|
|
|
|
| |
until (maybe) a ptrwarp call. Likewise, explicitly ensure an inbounds ptr
position (same as initial) when saving.
|
| |
|
|
|
|
| |
client_none().
|
|
|
|
|
|
|
|
| |
active; while we already look at what's under the pointer, use this
information first, then look under the pointer (saving that round-trip).
This restores the active state to a client after restart even if the
pointer is not above it (and of course the pointer is not above another
client).
|
|
|
|
|
|
| |
from r1.218 switching to malloc - clearly missed this case.
found the hard way by brynet@
|
|
|
|
| |
instead of relying on curcc.
|
| |
|
| |
|
| |
|
|
|
|
| |
from Vadim Vygonets.
|
|
|
|
| |
always positive since r1.214); from Vadim Vygonets.
|
|
|
|
|
|
| |
do for mouse based resize requests.
Based on a patch from Vadim Vygonets.
|
|
|
|
|
|
| |
fix for a regression is found; this bug has been around for a long time
it seems, but this change exposed it. Likely need to track clients in to
and out of regions.
|
| |
|
|
|
|
|
|
|
| |
region_find() which no longer needs to recalculate gap each time
a client (or menu) is created or altered. If no RandR, fall back
to display dimensions while building regions instead of during
execution.
|
|
|
|
|
|
|
| |
pointer and if it matches the child window, activate it; new clients
will not need to make this roundtrip to the server.
Based on a patch from Preben Guldberg.
|
| |
|
| |
|
|
|
|
| |
update comments about why we need to grab/ungrab the keyboard.
|
|
|
|
|
| |
_NET_WM_DESKTOP from the config-based auto-grouping; no (intentional)
behavior changes. Needed for further work in cleaning up this area.
|
|
|
|
| |
bottom-to-top order, as per spec (notified Thomas as well).
|
|
|
|
| |
fullscreen does).
|
|
|
|
|
| |
rationale being that clients should be able to hide/unhide independently
of group switching.
|
| |
|
|
|
|
| |
persist. As usual with new Atoms, requires X restart.
|
|
|
|
| |
position and size; based on discussion with a few.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
client_find valid resources as needed, relieving the need for
screen_find to ungracefully handle invalid root windows. Removes a long
standing XXX. Should theoretically allow XClientMessage handling on
more than one X screen. Alter callers of screen_find to handle
failures.
|