Commit Graph

5340 Commits

Author SHA1 Message Date
matthieu
7c1233b0b2 Patch for xserver 1.17. Missed in upgrade commit. 2015-09-28 05:53:20 +00:00
okan
afa59e563a Only when mapping clients from an initial wm start or restart, query the
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.
2015-09-23 14:09:40 +00:00
sthen
06ffd1a6fe sync 2015-09-18 13:00:48 +00:00
matthieu
7386be09a3 update 2015-09-16 19:25:58 +00:00
matthieu
f2c5cda082 xf86-video-modesetting is now part of xserver. 2015-09-16 19:19:28 +00:00
matthieu
86ea9f12e2 Update to xserver 1.17.2. tested by dcoppa@, jsg@, jasper@ & naddy@ 2015-09-16 19:10:19 +00:00
okan
c10cac3b1e On execwm, we should properly release resources before exec'ing into a
new window manager; so allow CWM_EXEC_WM to assign new wm to wm_argv and
pass through cwm_status (now EXECWM) so that x_teardown() gets called
before exec'ing the new window manager.  Removes the need for a separate
x_restart() now, using new wm_argv; and consolidates errno for execvp.
2015-09-16 17:58:25 +00:00
sthen
90da458481 sync; wsfb manual 2015-09-13 13:50:18 +00:00
sthen
72582b4c38 sync 2015-09-10 09:10:19 +00:00
matthieu
ef8ae69ca1 Build xf86-video-wsfb on amd64 and i386. Can be used by efifb now. 2015-09-07 21:26:01 +00:00
matthieu
78bbf89031 update 2015-09-06 12:09:54 +00:00
matthieu
94323bce53 Update to xterm 320. Tested by jsg@ Thanks. 2015-09-05 14:11:45 +00:00
deraadt
da62e3d7cc sync 2015-08-31 14:35:30 +00:00
deraadt
9e691e1eda sync 2015-08-31 05:24:39 +00:00
deraadt
eac40bbe8f sync 2015-08-30 18:29:21 +00:00
schwarze
0a779e4299 Remove abuse of \/ which is not a slash but an italic correction;
ok matthieu@, who will also push these fixes upstream (thanks).
2015-08-30 13:32:02 +00:00
matthieu
4d7af2a47c With the binutils got slot accounting fix, workaround it no longer needed
ok miod@
2015-08-29 17:49:14 +00:00
shadchin
d1fc35bb69 Read multiple events at once.
Before:
Both drivers currently do one read(2) per event, but since we use a
"sync" event we have a least two of them for ws(4) but more commonly
3 for ws(4) and 4 for synaptics(4).

most of the code and ok mpi@
2015-08-29 08:48:28 +00:00
jsg
a74e8629b1 regen 2015-08-28 14:25:40 +00:00
jsg
06524d56f2 The libdrm autoconf test for atomics uses __sync_val_compare_and_swap with
the address of a function argument which triggers a gcc ICE on sparc64
resulting in libdrm_radeon not being built as reported by naddy.

kettenis pointed out that while other architectures probably spill the
argument onto the stack this is likely not the case on register window
architectures like SPARC and suggested passing a pointer as an argument
instead which avoids the ICE and allows the drm libraries requiring
atomics to build on sparc64 again.

ok kettenis@ matthieu@
2015-08-28 14:25:03 +00:00
okan
ae8386de40 Lost fix from r1.112; add comment.
Reported (again!) by Peter Kane.
2015-08-28 12:07:28 +00:00
jsg
8eafc72c29 sync 2015-08-28 02:12:35 +00:00
okan
cc66816c13 Mechanical change: group->gc 2015-08-27 18:53:14 +00:00
okan
72c4ff3268 Add consistent checks against NULL. 2015-08-27 18:42:56 +00:00
okan
db9c5cf159 Move client cycle grab/ungrab into a more relevant place; while here,
update comments about why we need to grab/ungrab the keyboard.
2015-08-27 18:40:09 +00:00
okan
87e21816fb Re-add lost chunk in group_cycle from r1.113. 2015-08-27 17:43:44 +00:00
okan
b4a6817d50 Further simplify _NET_WM_DESKTOP handling using new group_assign(). 2015-08-25 20:35:49 +00:00
okan
ef6308a4d7 oops; remove left over debug print 2015-08-25 19:52:02 +00:00
okan
5c680bccef Allowing sending a valid 'nogroup' (0) group_ctx to group_assign()
(since we init all groups), though assigning the client's group to NULL
for 'sticky'; use this simplification in a few places (others to
follow).
2015-08-25 19:49:19 +00:00
matthieu
d5faaae2de update 2015-08-25 19:07:13 +00:00
okan
66a2bc1f37 Split out sticky mode checks and the restoring of a client's group and
_NET_WM_DESKTOP from the config-based auto-grouping; no (intentional)
behavior changes.  Needed for further work in cleaning up this area.
2015-08-25 18:29:10 +00:00
deraadt
4a7c085fa0 sync 2015-08-24 18:50:20 +00:00
deraadt
e935b63571 sync 2015-08-24 17:07:34 +00:00
okan
ee0c4ddc88 Implement _NET_CLIENT_LIST_STACKING (from Thomas Admin), but
bottom-to-top order, as per spec (notified Thomas as well).
2015-08-24 15:42:57 +00:00
okan
555cb59fca Don't allow freeze operations on fullscreen (consistent with what
fullscreen does).
2015-08-24 14:57:19 +00:00
okan
6752f43126 Sort _NET_WM_STATE Atoms like the spec. 2015-08-24 14:56:10 +00:00
deraadt
a4a697e97b sync 2015-08-24 11:21:15 +00:00
ajacoutot
3202498a1b /usr/share/sysmerge -> /var/sysmerge
requested by several
discussed with deraadt@
2015-08-24 10:41:21 +00:00
deraadt
818b86d0a7 do checkflist like base -- meaning, don't do it automatically. 2015-08-23 18:50:33 +00:00
deraadt
9dfd50120c sync 2015-08-23 18:47:41 +00:00
matthieu
35f989ce91 Update to xf86-video-geode 2.11.17
Add compatibility with xserver 1.17, but on OpenBSD I had to
disable reading of the 'XpressROM' that is used for directly
connected panels.
2015-08-23 18:42:51 +00:00
matthieu
7f9fd3b14c Merge upstream commit to support xserver 1.17 2015-08-23 17:53:51 +00:00
matthieu
1bb24e34a2 Merge from upstreams in preparation for xserver 1.17 2015-08-23 17:44:33 +00:00
matthieu
4652b3c87b Merge from upstreams in preparation for xserver 1.17 2015-08-23 17:43:11 +00:00
matthieu
c9ee5288a7 Merge from upstreams in preparation for xserver 1.17 2015-08-23 17:42:17 +00:00
matthieu
f3bbc4bb2c Prepare for xserver 1.17 2015-08-23 17:40:49 +00:00
matthieu
ecf67af775 Merge from upstreams: Prepare for xserver 1.17 2015-08-23 17:39:52 +00:00
matthieu
cda1250bfa Prepare for xserver 1.17 2015-08-23 17:38:08 +00:00
matthieu
f0a5fb0db2 Prepare for xserver 1.17 2015-08-23 17:37:09 +00:00
okan
a0e868af33 Move CLIENT_STICKY logic from client hide/unhide to group hide/unhide;
rationale being that clients should be able to hide/unhide independently
of group switching.
2015-08-23 17:31:20 +00:00