Commit Graph

6585 Commits

Author SHA1 Message Date
okan
18c4f462d2 Print window id in hex; while here, remove unnecessary newline. 2019-03-08 20:33:30 +00:00
okan
1dc13f57f5 Similar to keypress event, fetch the screen from the event root window in the
buttonpress handler; bail if we don't manage the screen. Allows us to find the
current client based on the screen/event root.
2019-03-08 17:40:43 +00:00
okan
e34b5f476a extend verbose logging for key/button events 2019-03-08 15:04:39 +00:00
okan
d039ccc7ef [keypress event] turns out we've been checking the wrong window for a matching
client thus always falling back to client_current(); while the current client
is problaby right in most cases, use event's subwindow (not window) to find the
client. Bail early if this event came to us from a screen we don't manage.
This is result of us grabing all keybindings off the root window instead of
selectively.
2019-03-08 14:48:02 +00:00
okan
adfbd35644 add parans for readibility 2019-03-08 13:17:26 +00:00
schwarze
8f242316fb Update the OPENBSD SPECIFICS section to match reality:
* Add the missing locale, modifyFunctionKeys, precompose, and scrollBar.
* Move backarrowKeyIsErase to conform to alphabetical sorting.
* Add a missing full stop.
Diff found in my tree; i obviously forgot to commit it earlier.
2019-03-08 12:54:30 +00:00
okan
4957b62d80 Teach client_current() to use a screen to find the current client instead of
iterating over all (fallback if no screen provided for now). Initially convert
trivial uses of client_current().
2019-03-07 14:28:17 +00:00
okan
92b42c1713 check cc->gc directly 2019-03-07 13:24:44 +00:00
okan
42f2ef6661 zip extra lines 2019-03-07 13:24:10 +00:00
okan
723d64d135 gc clientq inside groups, instead use the better maintained one per-screen 2019-03-07 13:14:41 +00:00
okan
053c616a9b shuffle deck chairs: rename group actions to match intent for clarity 2019-03-07 12:54:21 +00:00
okan
af76851447 same thing as screen_find() 2019-03-06 13:32:19 +00:00
jsg
e70f432759 sync 2019-03-06 10:40:16 +00:00
jsg
c1c03dc65d Build Mesa with LLVM support on amd64 and i386 now that libelf and
shared libLLVM are in base.  And now we can finally build the radeonsi
Mesa driver adding accelerated support for radeon parts based on the
Graphics Core Next (GCN) architecture which is everything since
GFX6 / Southern Islands.

This can later be expanded to other architectures which build libLLVM
and have clang as the default compiler (to handle LLVM's c++11 headers).
2019-03-06 10:39:52 +00:00
okan
8fa20d6f43 Separate out the menu window from the client resize/move geom window; in each
case, create and destroy on-demand. Isolate more menu specific code.
2019-03-04 19:28:17 +00:00
okan
9bf0bd42aa fix a few misplaced (and misnamed) ewmh root window functions 2019-03-04 14:48:59 +00:00
okan
edf7ed842c _NET_WORKAREA needs ngroups, so screen_update_geometry() needs to come after
conf_group().
2019-03-04 14:36:02 +00:00
okan
f18d19c6ef simplify xftcolor config 2019-03-04 13:33:39 +00:00
matthieu
df25bf4b30 Update to libfontenc 1.1.4. ok jca@ 2019-03-02 21:13:28 +00:00
okan
a15d877277 Tie group number and name together during config. 2019-03-01 14:32:01 +00:00
okan
ef3d45ea45 Move the group index (desktop number) check to the only 2 callers that require
checking due to ewmh.
2019-02-28 23:26:12 +00:00
okan
5efe73bca2 Ensure we don't action on the last group when the requested one is not found. 2019-02-28 23:20:52 +00:00
okan
b08a193eaf Selectively hide and show clients based on state; merge client_unhide() and
client_show().
2019-02-28 13:11:53 +00:00
okan
7d83c3f6e3 Add a configtest flag (-n).
based on a diff from Sascha Paunovic.
2019-02-25 18:07:48 +00:00
okan
93ac77f595 Add 'group-close-[n]' action to close all windows within specified group.
heavily based on a diff from Nam Nguyen.
2019-02-25 16:40:49 +00:00
rapha
3634da3d70 Add support for yv12 encoding to video(1).
Frame data is converted to yv12 if Xv(3) does not support yuy2 and uyvy.

OK mpi@, landry@
2019-02-25 12:34:35 +00:00
matthieu
357329a6fb update 2019-02-24 11:42:39 +00:00
matthieu
44d74a94be Update to xterm version 344. ok jsg@ 2019-02-24 11:41:42 +00:00
okan
24bbd9245a simplify screen 'area' usage for initial client placement 2019-02-23 19:17:17 +00:00
okan
54c6cee1ed restore order from before r1.248 (vtile/vtile containment changes). 2019-02-22 20:52:13 +00:00
okan
90189b3ce0 Rename internal functions to delinate between client remove, delete and xproto
delete; 'window-close' is now the proper action, but 'window-delete' as an
alias will remain until more interesting changes require breaking configs.
2019-02-22 19:40:32 +00:00
okan
aadf21edf2 Limit vtile/htile actions to clients fully within the screen of master client.
from Charles A Daniels.
2019-02-22 14:39:18 +00:00
matthieu
0f74e48ccf update 2019-02-21 19:52:30 +00:00
matthieu
f02f1f9802 Update to libXau 1.0.9. ok jsg@ 2019-02-21 19:38:46 +00:00
jsg
fa5b0e3e48 remove -fno-tree-pre from CFLAGS on sparc64
This was an attempt to limit the memory usage at build time which is
no longer required after the datasize values in login.conf were raised.
2019-02-19 05:57:17 +00:00
jsg
89d5a5fe5c update 2019-02-19 04:33:05 +00:00
jsg
b9f320ec11 Merge Mesa 18.3.4 2019-02-19 04:24:00 +00:00
jsg
ae7ee1376e Import Mesa 18.3.4 2019-02-19 03:25:14 +00:00
jsg
bffde83e78 intel: sync i915_pciids.h with kernel
From Rodrigo Vivi
70a1ae89be6b9f9a535f1fbaff3e4b1c4bb46d4a in libdrm git
2019-02-18 06:13:47 +00:00
jsg
c423099260 sync xserver dri2 pci_ids with the latest Mesa
the modesetting driver uses these to pick a dri driver name

ok phessler@ kettenis@ matthieu@
2019-02-18 02:41:24 +00:00
okan
c684045919 fix missing includes 2019-02-13 15:43:24 +00:00
matthieu
f2f9eae95d use abs(3) for integers. Noticed by a clang warning. ok tb@ 2019-02-11 07:10:45 +00:00
matthieu
aed193f8bf sync 2019-02-10 23:08:36 +00:00
matthieu
604a16d7db Revert switch to xorgproto. Requested by deraadt@ 2019-02-10 23:07:47 +00:00
matthieu
83dbd4825b update 2019-02-10 10:20:29 +00:00
matthieu
88d1f9a63e Update to xf86-video-i740 1.4.0 2019-02-10 10:18:40 +00:00
matthieu
2a44b8652a Update to xf86-video-neomagic 1.3.0 2019-02-10 10:00:25 +00:00
matthieu
6693542ac5 Update to xf86-video-i128 1.4.0 2019-02-10 09:47:54 +00:00
matthieu
e8adce9f1b Update to xf86-video-chips 1.3.0 2019-02-10 09:38:18 +00:00
matthieu
440e4dbe36 Update to xf86-video-s3virge 1.11.0 2019-02-10 09:32:04 +00:00