Commit Graph

5740 Commits

Author SHA1 Message Date
okan
402ba9437e Fix a typo from r1.201; fixes window_grouptoggle binding. 2015-11-17 15:19:19 +00:00
okan
448a04ca44 If a client does not set increment values, use 'moveamount' as a way to
scale keyboard based resizes; extend kbfunc_amount().

Behaviour noted by, tested by, and ok sthen@
2015-11-17 14:32:38 +00:00
okan
5dd7f2f304 Inline the only use of mousefunc_sweep_calc. 2015-11-17 14:31:28 +00:00
aoyama
184a98336b Pass --disable-libdrm option to configure when the machine does not
support DRI.  Found while building Xorg server on luna88k.

"fine for now" matthieu@
2015-11-17 10:49:57 +00:00
kettenis
0929ee3ac4 Partly disable acceleration on Broadwell. The inteldrm(4) driver fails to
restore something properly after resume which makes the render ring get stuck.
By defaulting to the "blt" acceleration method we avoid the use of this ring
and the machine remains usable after resume.

People who really want full 2D acceleration can still override the acceleration
method in their xorg.conf.

ok jsg@
2015-11-15 15:33:57 +00:00
matthieu
1e036e407b Remove the -configure option. This has been broken for a loong time
and no one is going to fix it.
2015-11-15 08:28:24 +00:00
deraadt
106ed06de4 sync 2015-11-14 20:27:41 +00:00
matthieu
78005e8a07 pledge xconsole(1). 2015-11-14 17:13:21 +00:00
matthieu
5092a69bf9 Don't try to revoque privileges if priv_init is called without
privileges. The parent process will be used for operations
that can't be pledged.
2015-11-14 17:12:14 +00:00
shadchin
d98e5b49b4 sync (xkeyboard-config-2.16) 2015-11-14 15:32:30 +00:00
shadchin
aecbad4093 Update to xkeyboard-config 2.16.
ok matthieu@
2015-11-14 15:30:00 +00:00
okan
403542f5b2 more client vs screen context differences 2015-11-12 21:28:03 +00:00
okan
6e55f9d89b If a client sets hints, honor them for kb resize requests, just like we
do for mouse based resize requests.

Based on a patch from Vadim Vygonets.
2015-11-12 18:33:30 +00:00
okan
db0907a53d Move kb pointer movement out of the kbfunc_client_moveresize since it's
got nothing to do with clients, thus doing flags work causes lots of
waste and almost useless jumpy pointer movements; while here, split out
move and resize since they share almost no code, just like mouse client
move/resize; factor out amount and factor. Still wonder why this is
here, but it works now.
2015-11-12 18:26:41 +00:00
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