okan
e5da774880
ICCCM explicitly states that server time (CurrentTime) should *not* be
...
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-12 20:15:07 +00:00
okan
c16e20981c
we don't need to manage the save-set since we're not reparenting; left-over from pwin
2013-12-11 22:14:23 +00:00
okan
f1494daf70
since we are drawing in unhide, no need to during client setup
2013-12-11 17:23:31 +00:00
okan
b5f3d28152
apply mwm hints later
2013-12-11 15:46:47 +00:00
okan
3d5c10942f
Add client wrapper for XWMHints to support XA_WM_HINTS in PropertyNotify
...
events; based off a diff from Thomas Adam.
2013-12-11 15:41:11 +00:00
okan
5da88fd68f
Remove extra work and simplify client state handling.
2013-12-11 14:16:09 +00:00
okan
33eb08de92
Stash Class and WM Hints in client_ctx
2013-12-11 14:09:21 +00:00
okan
3c7dcdc9f9
Redraw client border when unhiding; during a hide, we just unset
...
the active flag but never redraw since it'll be in IconicState.
Behaviour reported by sthen@
2013-12-10 21:27:37 +00:00
okan
a6e6db763a
If not using sticky mode (the default), clients aren't automagically
...
assigned a group, thus cc->group will be NULL - fix the client group
shortcut in menu lists; crash reported by Christian Neukirchen.
2013-12-08 13:51:38 +00:00
matthieu
a7402e9e1c
update
2013-12-08 12:02:01 +00:00
matthieu
511a911dd8
Update to xserver 1.14.4
2013-12-08 10:53:01 +00:00
naddy
3adb0abb24
don't include obsolete <sys/timeb.h>, which will go away shortly; ok matthieu@
2013-12-03 22:27:26 +00:00
todd
04901b7dfd
sync
2013-12-03 15:26:58 +00:00
okan
7459d3af28
When we receive a NotionNotify event, there's no need to (incorrectly
...
might I add) redraw the top menu selection.
2013-12-02 20:01:19 +00:00
okan
e5072fc220
Always highlight the first menu item (helpful to see selected items when
...
not using a mouse and therefore not generating Expose/MotionNotify
events); from Thomas Adam.
2013-12-02 19:49:26 +00:00
okan
d7f3078e8e
Prepend the group shortcut in the client search menu; from Thomas Adam.
...
Likewise, prepend shortcut in unhide menu.
2013-12-02 19:30:27 +00:00
okan
3207d6dcc9
Since we use IconicState as our hidden state, check for the hidden flag
...
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-12-02 14:30:12 +00:00
matthieu
b5c6640b74
update
2013-12-01 20:36:52 +00:00
matthieu
4db6d49dbc
Update to pixman 0.32.4. Tested by naddy@ and ajacoutot@
2013-12-01 20:34:20 +00:00
okan
a287dfc793
like gap, make snapdist per screen
2013-11-27 18:34:34 +00:00
okan
efe2ba92f9
alter -r1.145 getsizehints to deal with clients that don't have
...
WM_NORMAL_HINTS.
2013-11-27 17:04:35 +00:00
okan
9b29ffac8c
Remove the option to bind a key by keycode with brackets; it never
...
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 16:24:17 +00:00
okan
a09ca80c45
simplify/unfold
2013-11-27 14:20:32 +00:00
okan
57ba45de2c
Rewrite active/inactive client handling in client_setactive();
...
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-27 00:01:23 +00:00
todd
4c219fb9a2
sync
2013-11-26 16:31:06 +00:00
benno
3ab274cd32
Log message:
...
use u_char for buffers in yylex, for ctype calls, as done in all other
parse.y in the tree
found by millert@, ok okan@
2013-11-25 18:21:55 +00:00
matthieu
b2e29e99b3
update
2013-11-24 17:00:15 +00:00
jsg
c1a35dafab
update
2013-11-24 06:25:09 +00:00
jsg
f0c6bb9965
Mesa 9.2.3
2013-11-24 06:23:35 +00:00
jsg
c6a24178b5
Merge Mesa 9.2.3
...
ok mpi@ kettenis@
2013-11-24 06:19:52 +00:00
jsg
309b4c3237
Import Mesa 9.2.3
2013-11-24 05:52:36 +00:00
espie
45b6aececf
remove useless goo. okay matthieu@
2013-11-22 15:44:48 +00:00
kettenis
2748158d08
update to libdrm 2.4.47
...
ok mpi@, jsg@
2013-11-21 13:30:07 +00:00
todd
0cc5ada008
sync
2013-11-19 21:26:36 +00:00
matthieu
783f743e28
Give /dev/drm0 to the user logging into xdm to be able
...
to run OpenGL applications. ok kettenis@, naddy@
2013-11-18 20:39:48 +00:00
matthieu
53ea49d9a5
Fix shadow framebuffer implementation.
...
Tested by Martijn van Duren and mpi@.
2013-11-18 19:45:41 +00:00
matthieu
5707a4cc2a
update
2013-11-17 16:55:36 +00:00
matthieu
dc89b51ad2
Unhook radeonold from the build
2013-11-17 14:33:05 +00:00
okan
632f11c555
Alter the r1.35 of event.c race fix. Remove the forward looking event
...
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-11-12 21:25:00 +00:00
shadchin
0522917804
update
2013-11-11 16:56:08 +00:00
shadchin
bedbd41bd0
Update to xf86-input-keyboard 1.8.0.
...
ok matthieu@
2013-11-11 16:51:59 +00:00
okan
ce53b02ca7
Put back the border draw call in client_resize; since we are adding and
...
removing the border on maximized clients we need to redraw.
Also noticed by Tim van der Molen
2013-11-11 12:51:15 +00:00
jsg
a9f7b7bce8
Enable hardware acceleration on haswell again.
...
Seems to work with the kernel changes I've just committed
on a desktop with hd 4600, and matthieu's haswell ult with hd 4400.
2013-11-11 03:16:50 +00:00
matthieu
847eaa7843
update
2013-11-10 16:08:06 +00:00
matthieu
bd28a6395f
Bunch of fonts package updates.
...
build system churn + removal of old RCS keyworks.
No actual visible changes indended.
2013-11-10 15:20:04 +00:00
jsg
67a8879bbe
update
2013-11-09 02:57:37 +00:00
jsg
fd926d2624
Mesa 9.2.2
2013-11-09 02:54:53 +00:00
jsg
12557abee9
Merge Mesa 9.2.2
2013-11-09 02:46:54 +00:00
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