Commit Graph

4543 Commits

Author SHA1 Message Date
jsg
fc1e3907a6 Import Mesa 9.2.2 2013-11-09 02:25:41 +00:00
okan
e8fcfc29d4 stash WMProtocols in flags 2013-11-08 17:35:12 +00:00
okan
b543fee100 quick keyboard focus fix for clients that neither populate wmhints nor wmprotocols, like rdesktop; focus needs to be re-visited 2013-11-05 00:55:42 +00:00
okan
d21ac16a79 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
shadchin
55854c363a a little header cleanup 2013-11-02 13:17:32 +00:00
okan
47ae5c2eb9 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
matthieu
0500791125 remove unused file. 2013-11-01 19:04:50 +00:00
okan
95e47782f7 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
shadchin
0e58383580 Fix jagged diagonal lines (xenocara part)
Make sure that you have a recent kernel.

ok matthieu@. tested edd@, Henri Kemppainen and Alf Schlichting.
2013-10-30 18:05:34 +00:00
todd
16eff2adca sync 2013-10-29 15:43:21 +00:00
shadchin
68325ef07c sync 2013-10-26 17:52:02 +00:00
shadchin
bc888af018 Update to xkeyboard-config 2.10.1.
ok matthieu@
2013-10-26 17:49:57 +00:00
okan
a8efa775ea 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
miod
819249aec9 X11 clients for OpenBSD/aviion. ok matthieu@ 2013-10-25 18:14:20 +00:00
miod
7aaaa1137c Do not attempt to build kdrive if we did not build Mesa, for its configure
script looks for libGL.

ok matthieu@
2013-10-25 18:12:59 +00:00
todd
f2b7dc8dbd sync 2013-10-23 00:41:06 +00:00
matthieu
eb93ff8a6d Use arc4random 2013-10-20 12:41:07 +00:00
matthieu
d730882b48 Use arc4random() 2013-10-20 12:40:02 +00:00
matthieu
fe7f17ac1e Reduce diff with upstreams. 2013-10-20 12:34:21 +00:00
matthieu
680fd7c589 update 2013-10-20 12:27:33 +00:00
matthieu
b91348b6a7 Update to xf86-video-vesa 2.3.3 2013-10-20 12:25:48 +00:00
matthieu
ae569081d6 Update to xf86-video-dummy 0.3.7 2013-10-20 12:24:01 +00:00
okan
816ad65098 shuffle 2013-10-20 02:00:02 +00:00
okan
f22f30d08a wrap key ungrab like btn ungrab, for it'll be used again 2013-10-20 01:55:32 +00:00
okan
25ca41475e revert 1.138 (WM_TAKE_FOCUS) for now 2013-10-20 01:35:47 +00:00
okan
d5f92c3e42 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
70cf49457d 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
f2ed8ceb47 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
0710bf7edc a few err->errx since we don't have error messages here; from Tiago Cunha 2013-10-17 13:59:10 +00:00
todd
8d4654cc02 sync 2013-10-15 23:06:43 +00:00
matthieu
13ffd05204 -update 2013-10-10 19:51:43 +00:00
matthieu
8e0a332fda Update to freetype 2.5.0.1. Tested by many. 2013-10-10 19:49:34 +00:00
matthieu
639856387e Fix from upstreams for CVE-2013-4396
Use after free in Xserver handling of ImageText requests
2013-10-09 05:37:56 +00:00
matthieu
7a2103c0e9 update 2013-10-08 19:26:10 +00:00
okan
c42f6cebe3 trying parsing a XLFD string first, then by pattern 2013-10-07 13:40:26 +00:00
jsg
4d34166c4d update 2013-10-05 10:31:01 +00:00
jsg
e14706fc9b regen for Mesa 9.2.1 2013-10-05 10:12:54 +00:00
jsg
74afb4747b Merge Mesa 9.2.1 2013-10-05 09:53:49 +00:00
jsg
42e72c47e5 Import Mesa 9.2.1 2013-10-05 09:19:47 +00:00
okan
78f4db5140 unify type; no change 2013-10-03 13:51:57 +00:00
todd
f86494b3ac sync 2013-09-30 05:06:06 +00:00
matthieu
4bed559f3e update 2013-09-28 17:54:31 +00:00
matthieu
f0a97458d0 Update to libXv 1.0.10 2013-09-28 17:51:20 +00:00
matthieu
4624618994 Update to libXrandr 1.4.2 2013-09-28 17:47:01 +00:00
matthieu
aaee18903a Update to libXpm 3.5.11 2013-09-28 17:40:32 +00:00
matthieu
a52fe2326c Update to libXmu 1.1.2 2013-09-28 17:31:50 +00:00
matthieu
640a513825 Update to libXaw 1.0.12 2013-09-28 17:25:07 +00:00
matthieu
8c1effea43 Update to libX11 1.6.2. No API change. 2013-09-28 17:03:13 +00:00
matthieu
7bdeca034f Update to xman 1.1.3 2013-09-28 16:22:59 +00:00
matthieu
1cd6f94122 Update to makedepend 1.0.5 2013-09-28 15:37:13 +00:00