Commit Graph

5826 Commits

Author SHA1 Message Date
okan
4db32a8463 pledge "stdio rpath proc exec" cwm before main event loop, after
init/setup - mostly for menu building.

ok semarie@ (another cwm user)
2015-11-12 17:56:54 +00:00
matthieu
27549fce93 Reduce gcc warnings. No functional changes. 2015-11-11 21:20:12 +00:00
matthieu
300ba5c057 use HAVE_ instead of HAS_ macros for consistency. 2015-11-11 21:18:12 +00:00
matthieu
f08e325b48 regen 2015-11-11 21:12:43 +00:00
matthieu
eedb4e77fa pledge for xclock. okan@ got to the same patch. I added autoconf goo
to make it possible to send it upstreams. ok deraadt@
2015-11-11 21:12:19 +00:00
matthieu
f7d98a310c pledge(2) for the X server privileged process. ok deraadt@ 2015-11-11 21:07:49 +00:00
okan
a7bbf5197e Partial revert of replacing screen_area() with region_find(); until a
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.
2015-11-11 14:22:01 +00:00
deraadt
3ab7d7d094 avoid using err(), use xtermWarning() instead; ok semarie 2015-11-11 07:09:50 +00:00
okan
72507096a1 Use position on root to figure out region. 2015-11-10 22:06:57 +00:00
okan
0abb5fd0f1 Start cleaning up name vs function differences; replace magic numbers. 2015-11-10 20:05:33 +00:00
okan
3fd7c4d329 Clean up unused defines. 2015-11-09 20:15:23 +00:00
okan
ffc7945b8d Extend region to include both view and work areas; switch to
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.
2015-11-09 20:03:29 +00:00
matthieu
370b4f5d5a Fix use afer free in free_window_list().
bug report by Gerrit Meyerheim, patch by Serguey Parkhomovsky on bugs@
Thanks to both.
2015-11-08 13:47:41 +00:00
matthieu
5d406ca321 update 2015-11-07 16:59:25 +00:00
matthieu
4c6a4e1e00 Update to xserver 1.17.4.
tested by naddy@
2015-11-07 16:48:51 +00:00
semarie
9199950164 add pledge to xterm
the pledge call is done just before the main loop, so initialisation
is almost done.

- stdio: for all communication on opened fds (read/write/select/recvmsg/...)
- rpath: for X11 error ("X Error of failed request: ...") which read
  at least /usr/X11R6/share/X11/XErrorDB
- wpath : on exit, for opening WR_ONLY "/var/run/utmp"
- cpath : for Tek emulation window (xterm -t)
- id : on exit, for calling setegid()
- proc: on exit, for calling kill()
- tty: on exit, for calling tcflush()

"it is time" deraadt@
2015-11-07 08:10:24 +00:00
matthieu
97ddb9c482 update 2015-11-03 21:06:51 +00:00
jsg
ee66b4b1ec sna/gen8: Clamp URB allocations for GT3
From Chris Wilson in
7a9bdadd71730adc5266bc6758982abec5917b93

Fixes rendering problems on Broadwell GT3 (Iris 6100/Iris Pro 6200)
Tested by Thomas Weinbrenner on bugs@
2015-11-02 04:11:01 +00:00
deraadt
cd3e9efa37 sync 2015-10-28 00:46:31 +00:00
matthieu
f00e3078a0 Reduce white space diff with upstreams. No other change. 2015-10-25 15:24:06 +00:00
naddy
5a22aec1bc Don't enable 10-autohint.conf by default. It causes problems with
xterm -fa mono (underscores disappearing because the glyph exceeds
the cell size), matthieu@ can't remember why he enabled it, and it's
not enabled by default anywhere else.  ok matthieu@
2015-10-23 12:29:31 +00:00
dcoppa
f3fdd101b8 Zap bogus RCS strings 2015-10-20 08:10:21 +00:00
sthen
b56c9347a1 sync 2015-10-19 12:25:21 +00:00
sthen
b8f08254ee bump freetype minor; the update adds new functions. spotted by naddy@,
"Please go ahead and commit the minor bump" dcoppa@
2015-10-19 12:23:39 +00:00
dcoppa
ec58612e78 sync (freetype-2.6.1) 2015-10-19 07:53:27 +00:00
dcoppa
45d32bf5f0 Update to freetype-2.6.1
OK matthieu@

Bulk build by naddy@, thanks!
2015-10-19 07:51:34 +00:00
matthieu
33d107bfaf Don't automatically launch dbus as part of the default user sessions.
requested by deraadt@ no objection ajacoutot@
2015-10-17 08:25:11 +00:00
matthieu
459538fd05 update 2015-10-01 06:22:19 +00:00
matthieu
4aca9982ea Update to pixman 0.32.8. 2015-10-01 06:21:38 +00:00
sthen
f05288b6c7 sync 2015-09-30 19:57:59 +00:00
dcoppa
50d60107cf Crank minor for libxcb
ok matthieu@
2015-09-30 09:14:26 +00:00
dcoppa
ad21a167a8 Update to libxcb-1.11.1
ok matthieu@
2015-09-30 09:13:41 +00:00
matthieu
e957e25538 Post xserver 1.17 cleanup 2015-09-28 07:14:00 +00:00
matthieu
5f3337aec0 Post-xserver 1.17 cleanup. 2015-09-28 06:20:25 +00:00
matthieu
1867e4b0c7 Post xserver 1.17 cleanup. Remove now unused functions. 2015-09-28 06:00:47 +00:00
matthieu
11ed0dd96c Update for xserver 1.17 2015-09-28 05:59:26 +00:00
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