okan
54cccf114b
Use instinsic X11 functions for key/btn/ptr grab/ungrab/regrab requests;
...
the one line wrappers provided no value and limited altering calls where
needed; additionally, most of them had but one caller.
2016-09-30 18:28:06 +00:00
okan
e49083a483
Replace mousefunc_sweep_draw() with a generic menu_windraw() using va
...
lists; use it appropriately for both window dimension and position in
the respective mousefunc calls.
ok bryent@
2016-09-30 15:12:19 +00:00
okan
e30959f62f
Switch to XWindowEvent() pulling out events that match the mask *and*
...
window.
2016-09-30 15:05:02 +00:00
okan
035ba40ddc
no need to unmap menu window again
2016-09-29 00:30:40 +00:00
okan
1b369f6063
Mechanical change: move screen menu bits to their own struct.
2016-09-29 00:21:55 +00:00
okan
b46a5b0b56
Inline Xft draw and extents wrappers; too much abstraction.
2016-09-28 17:06:33 +00:00
okan
7c35826ca9
Do not call sweep_draw() too early: don't yet have w/h dimensions; plus
...
we will get a MotionNotify event right away anyway, setting required
parameters.
2016-09-28 15:54:54 +00:00
matthieu
02593ff9e1
pixman: upstreams tarballs contain an empty ChangeLog.
...
So remove what we have here. Less gratuitous local changes.
2016-09-25 10:31:16 +00:00
matthieu
7c3e92162c
update
2016-09-24 19:09:33 +00:00
matthieu
2638f19466
update
2016-09-23 07:15:30 +00:00
okan
374d386034
Continue merging kb and mouse functions: fold
...
mousefunc_menu_{client,cmd,group} into the respective
kbfunc_menu_{client,cmd,group} functions; simply pass a flag down from
config denoting mouse action behaviour.
2016-09-22 14:36:03 +00:00
okan
c1ac946076
Allow ctrl-[ for abort (esc); from Benjamin Scher Purcell
2016-09-20 19:58:54 +00:00
okan
489250a384
de-static client_inbound()
2016-09-20 19:11:19 +00:00
okan
47ecd2dcf9
remove debug that accidentally snuck in
2016-09-20 18:23:12 +00:00
okan
d9f512008b
Get rid of curcc, instead cycle through the queue; removes the need for
...
client_none().
2016-09-20 18:21:32 +00:00
jca
cdd4bf21cb
Make video -i work ootb.
...
video(1) uses mmap and ioctls by default, those ioctls only work on
video(4) devices. If -i is passed, use read(2) instead of the mmap(2)
routines, instead of requiring the user to pass also pass the -g flag.
2016-09-16 20:29:03 +00:00
okan
9b943acf32
During init, query screen for _NET_ACTIVE_WINDOW and set that client as
...
active; while we already look at what's under the pointer, use this
information first, then look under the pointer (saving that round-trip).
This restores the active state to a client after restart even if the
pointer is not above it (and of course the pointer is not above another
client).
2016-09-16 14:32:02 +00:00
deraadt
cabc3c79ba
sync
2016-09-16 00:27:48 +00:00
okan
faafc6dd35
Some clients fail to setup hints at all, so initalize for them; fallout
...
from r1.218 switching to malloc - clearly missed this case.
found the hard way by brynet@
2016-09-14 21:00:24 +00:00
okan
b0ab7f2e87
Fix-up a few simple uses of client_current(): check CLIENT_ACTIVE flag
...
instead of relying on curcc.
2016-09-14 19:45:33 +00:00
matthieu
fe5fda4a31
Make shure that all autotools generated install commands specify a
...
user and a group.
2016-09-14 08:31:47 +00:00
okan
237d1b1cf5
init label
2016-09-13 17:42:58 +00:00
deraadt
7f7dbbf558
sync
2016-09-13 15:08:06 +00:00
okan
6937dedc0d
Limit mouse resize to hints within the client; matches kbd resize
...
behaviour.
2016-09-13 13:42:28 +00:00
matthieu
466ceeb29f
include <sys/time.h> before wsconsio.h
2016-09-12 22:12:44 +00:00
matthieu
b9d0c0fb7c
Fix a bunch of gcc warnings.
...
- constify name field
- rename devname -> devnam
- replace deprecated Xprintf() with asprintf()
2016-09-12 21:57:14 +00:00
matthieu
595a0e50e5
sys/select.h -> sys/time.h
2016-09-12 21:46:25 +00:00
matthieu
d2533042e8
Fix build after headers cleanup.
...
include wscons headers after sys/ioct.h and sys/select.h
with deraadt@ and kettenis@
2016-09-12 21:44:30 +00:00
deraadt
76fe6f1ba0
sync
2016-09-12 16:39:34 +00:00
deraadt
2cf2a03756
sync
2016-09-12 15:28:03 +00:00
okan
14d946c938
Switch to just malloc since we need initialize most everything anyway.
2016-09-12 13:48:41 +00:00
okan
310ca33ad8
change 'sticky' to 'stick' to toggle client stickiness (seems the
...
default binding worked for everyone for a long time!); conflict with
group sticky found by Ali Farzanrad - thanks!
2016-09-12 13:47:00 +00:00
deraadt
537eb90d08
sync
2016-09-12 12:44:05 +00:00
matthieu
c7371fb865
Fix installation modes and ownership.
2016-09-11 19:22:56 +00:00
jsg
7f4dc93108
Define an empty inline intel_sync_close() in a header for dri2 to match
...
newer intel code instead of putting an ifdef around the call.
2016-09-05 11:20:18 +00:00
matthieu
b4ced79982
Remove zaurus specific default VT configuration (it had only 2 VTs)
2016-09-04 19:13:17 +00:00
guenther
8113144b81
Remove zaurus keyboard model
...
ok matthieu@
2016-09-03 14:58:02 +00:00
guenther
8c95c27565
Remove zaurus, zts, and ztsscale references
2016-09-03 14:01:16 +00:00
matthieu
10914cc302
Remove zaurus support
2016-09-03 13:57:18 +00:00
okan
79f19b14ff
Simplify group_holds_only_hidden(); from Vadim Vygonets.
2016-09-02 16:07:11 +00:00
okan
6c5b694356
Simplify toggling flags; from Vadim Vygonets.
2016-09-02 15:08:44 +00:00
matthieu
7bf4b35539
update
2016-09-02 11:01:07 +00:00
matthieu
3e22cb884a
Update to libXfont 1.5.2
2016-09-02 11:00:05 +00:00
matthieu
1088118520
sync
2016-09-02 10:11:16 +00:00
matthieu
778b53e347
Update to xcb-proto/libxcb 1.12. "Just commit it" naddy@
2016-09-02 10:09:43 +00:00
okan
b9b225cb85
Do not draw borders on ignored clients when returning from fullscreen;
...
from Vadim Vygonets.
2016-09-01 18:38:52 +00:00
okan
0aaaf77e6b
Remove redundant minimum client size adjustment (minw and minh are
...
always positive since r1.214); from Vadim Vygonets.
2016-09-01 18:34:04 +00:00
matthieu
7db7cc1b41
Good bye sparc
2016-09-01 13:10:25 +00:00
jsg
e0e6b146d2
remove sparc
2016-09-01 10:37:40 +00:00
matthieu
224133cce4
Update to xf86-video-sis 0.10.8
2016-08-31 15:27:08 +00:00