Michael Weber
01625f7689
Merge branch 'linux' of git://github.com/chneukirchen/cwm into linux
2013-11-18 17:02:27 +01:00
okan
2037332bb7
cvsimport
2013-11-02 19:13:56 +00:00
okan
b5915eb989
The only reason we need to keep XSizeHints in our client_ctx is for
...
flags, so just add one to hints; consolidates sizehints and shrinks.
Additionally don't abuse PSize for XGetWMNormalHints() failures.
2013-11-02 19:13:56 +00:00
okan
b8f53666bd
x/y from XSizeHints are obsolete (and have been for a long time), so
...
instead use x/y from XWindowAttributes when USPosition|PPosition are
set.
2013-11-01 21:54:20 +00:00
okan
caf8b315ab
cvsimport
2013-11-01 14:07:19 +00:00
okan
06eb13dfd9
re-add support for WM_TAKE_FOCUS, and additionally this time only call
...
XSetInputFocus() for clients that have the InputHint; latter fix
discovered by Valery Masiutsin with a PoC patch - solves keyboard input
focus loss for java apps.
2013-11-01 14:07:19 +00:00
okan
0c99788f66
cvsimport
2013-10-25 19:46:16 +00:00
okan
6e17b41f56
A client_delete should behave differently depending on whether the
...
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-10-25 19:46:16 +00:00
okan
6867821abe
shuffle
2013-10-20 02:00:02 +00:00
okan
5b733a152d
wrap key ungrab like btn ungrab, for it'll be used again
2013-10-20 01:55:32 +00:00
okan
9ff288baef
revert 1.138 (WM_TAKE_FOCUS) for now
2013-10-20 01:35:47 +00:00
okan
a2013ee9dd
Using xu_btn_ungrab() buttons during client_leave doesn't work (error
...
BadValue) when the modifier is already AnyModifier . Instead alter
xu_btn_ungrab() to ungrab AnyButton/AnyModifier and call it only when a
client is coming into focus in client_setactive(), instead of iterating
over ignore mods - matches how we handle key grabs.
2013-10-19 19:39:34 +00:00
okan
083a023f2c
I believe we redraw the border in too many cases; likely a leftover from
...
the cc->pwin days - don't redraw on every unhide, resize, and mouse
move/resize Expose event (note, all Expose events trigger a redraw
anyway).
Tested with some finicky X apps I could think of, though I'm sure others
will find more - if so, and they 'lose' the border, please report!
2013-10-19 18:59:22 +00:00
okan
a70b2d81af
For clients that support WM_TAKE_FOCUS in their WM_PROTOCOLS property, send
...
a ClientMessage event.
2013-10-19 00:24:54 +00:00
okan
a88b8c1363
a few err->errx since we don't have error messages here; from Tiago Cunha
2013-10-17 13:59:10 +00:00
Christian Neukirchen
0d6e8a9146
Makefile: rm -f is enough
2013-10-16 23:05:51 +02:00
okan
bfd3f5e5e1
trying parsing a XLFD string first, then by pattern
2013-10-07 13:40:26 +00:00
okan
f3477539bb
cvsimport
2013-10-07 13:40:26 +00:00
okan
6ac51b8e41
unify type; no change
2013-10-03 13:51:57 +00:00
Michael Weber
b8be6754f0
kbfunc_moveresize -> kbfunc_client_moveresize
2013-07-28 00:14:16 +02:00
Michael Weber
c5fa35ecfd
Merge branch 'linux' of git://github.com/chneukirchen/cwm into linux
...
Conflicts:
calmwm.h
2013-07-27 16:34:12 +02:00
okan
0dec9e849d
cvsimport
2013-07-16 14:30:48 +00:00
okan
a439012b58
we no longer need to construct an array for _NET_SUPPORTED.
2013-07-16 14:30:48 +00:00
okan
fbb9d32d0a
don't need the size here
2013-07-16 14:22:25 +00:00
okan
ca416b6b82
max -> nitems
2013-07-16 14:04:44 +00:00
okan
ae4ab06559
shuffle down protoypes
2013-07-15 23:53:19 +00:00
okan
4ef96a2772
collapse lines
2013-07-15 23:51:59 +00:00
okan
4119b5c065
simplify atom handling; allows us to limit to one round-trip to server
...
for gathering Atoms.
2013-07-15 14:50:44 +00:00
okan
93bfc4a5c1
cvsimport
2013-07-10 14:15:58 +00:00
okan
bd7b8163bb
bring buttonpress and keypress event handlers slightly closer together
2013-07-10 14:15:58 +00:00
okan
9571038358
type fixes
2013-07-10 14:11:42 +00:00
okan
dd10412804
since the root and event window are the same in the case of a button
...
event on the screen's root window, there's no need to pass down the
entire XButtonEvent event, at least to group_menu(), the only callback
which takes an argument at this point; instead use the already populated
screen.
2013-07-09 01:24:49 +00:00
okan
9bf2498d7e
add support for mouse based group {,r}cycle; from Rodrigo Mosconi. not
...
bound by default.
2013-07-08 18:39:20 +00:00
okan
1f244fe29c
move kbfunc and mousefunc closer together
2013-07-08 18:19:22 +00:00
okan
a493734066
clarify kbd vs mouse functions
2013-07-08 16:32:51 +00:00
okan
912ec90ea1
move duplicate kbd and mouse modifier parsing to a generic function;
...
from Tiago Cunha
2013-07-08 16:10:55 +00:00
okan
fe439f2b96
replace a few (x)malloc with (x)calloc to prevent potential integer
...
overflows; from Tiago Cunha
2013-07-08 15:48:16 +00:00
okan
7a7e5cd592
whitespace and style fixes; from Tiago Cunha and one from me.
2013-07-08 15:46:16 +00:00
Michael Weber
c7a8e8a286
Merge branch 'linux' of git://github.com/chneukirchen/cwm into linux
2013-06-28 22:36:04 +02:00
okan
ba9baaf671
cvsimport
2013-06-23 17:57:50 +00:00
okan
fbcdce6be9
properly fix (and re-organize) selfont selection.
2013-06-23 17:57:50 +00:00
okan
9a12ca3520
cvsimport
2013-06-20 02:33:57 +00:00
okan
7004700ce0
when selfont is configured, make sure we continue and configure the rest
...
of the screen (quick fix); discovered the hard way by Rodrigo Mosconi.
2013-06-20 02:33:57 +00:00
okan
234b8214df
move Cursors into conf.
2013-06-17 17:11:10 +00:00
okan
23d84adb5e
now that we have conf_screen, which configures individual screens
...
*after* config parsing, we no longer need to split up display/screen
initialization, so collapse.
2013-06-17 14:08:51 +00:00
okan
8b00f438be
allow mouse button4 and button5; from Rodrigo Mosconi
2013-06-17 00:57:47 +00:00
Michael Weber
37b3b149ed
Merge branch 'linux' of git://github.com/chneukirchen/cwm into linux
2013-06-13 11:52:45 +02:00
okan
6059073a5f
move synthetic responses and have client_msg only work with WM_PROTOCOLS,
...
since that's all ClientMessageEvent is for anyway.
2013-06-10 21:37:30 +00:00
okan
b365ceac0e
Check for, and honour, CWStackMode and CWSibling change requests during a
...
ConfigureRequest event. Additionally, honour a border width change;
detailed report and patch from Mike Small.
2013-06-10 20:11:43 +00:00
sthen
c30653b1c3
cvsimport
2013-06-03 20:33:17 +00:00