Tony Crisci
1f976a0f25
xwm: xfixes selection notify
7 years ago
Tony Crisci
e786d17f63
Merge branch 'master' into feature/xwm-selection
7 years ago
emersion
151901123f
Merge branch 'master' into refactor-wlr-list
7 years ago
emersion
bc68f26960
Fix evince fullscreen under xwayland
7 years ago
Tony Crisci
444257b6b1
xwm: selection init
7 years ago
Tony Crisci
3880fb0a53
xwm: selection stubs
7 years ago
Tony Crisci
0672d9cb52
bug: properly send WM_STATE
7 years ago
emersion
016744ef4d
Refactor wlr_list inside wlroots
7 years ago
Drew DeVault
a317ecdab8
Run startup command after xwayland is ready
7 years ago
emersion
26dadacb71
Add wl_shell support for maximized views
7 years ago
emersion
758514fe5d
Fix xwayland _NET_WM_STATE handling
7 years ago
emersion
900fb326f7
Fixes segfault when no xcb_render_pictforminfo_t is available
7 years ago
emersion
bb76f52640
Fetch xcb_render_pictformat_t at startup
7 years ago
emersion
3f4ad47421
Use compositor theme for xwm cursor
7 years ago
emersion
ddd7b7711c
Load xwm cursor from theme
7 years ago
emersion
4254c28138
Free xwm cursor in xwm_destroy
7 years ago
emersion
bdaf66a292
Set xwayland root cursor
7 years ago
Dominique Martinet
bf225a60d8
rootston: flush 'close' command on Xwayland
...
The close would otherwise wait for another xcb event to happen.
Flushing helps 'close' feel reactive.
7 years ago
Tony Crisci
ce72a687ce
xwm: cleanup send focus window logic
7 years ago
Tony Crisci
88316e7921
xwm: get rid of xcb call macro
7 years ago
Tony Crisci
942a19a069
xwm: cleanup and consistent naming
7 years ago
Tony Crisci
680f8a169d
xwm: remove duplicate calls in net wm state read
7 years ago
Tony Crisci
325def3841
xwm: create colormap and visual depth detection
7 years ago
Tony Crisci
be297d9d14
xwm: net wm state
7 years ago
Tony Crisci
6a4290b86a
xwm: moveresize events
7 years ago
Tony Crisci
4a106648c4
xwm: remove incorrect implementation of net wm state
7 years ago
Tony Crisci
32b848bd46
xwm: handle focus in
7 years ago
Tony Crisci
930ab06857
xwm: send net_wm_state
7 years ago
Tony Crisci
263279b7e0
xwm: rewrite xwm initialization
7 years ago
Tony Crisci
ff0006d0f0
xwm: refactor client message handler
7 years ago
Tony Crisci
a861b380ef
xwm: add net active window to supported
7 years ago
Tony Crisci
7914f4bda9
xwm: dont focus override redirect windows
7 years ago
Tony Crisci
d6a1e6fd79
xwm: dont flush if no events
7 years ago
Tony Crisci
b443b9a998
xwm: set net active window on xwm create
7 years ago
Tony Crisci
0d1dd84a48
xwm: improve activation and dont send focus twice
7 years ago
Tony Crisci
1be650d78a
xwm: only emit unmap notify once
7 years ago
Tony Crisci
e5ee01254b
xwm: map and unmap notify
7 years ago
Tony Crisci
22435e00c5
xwm: 80col cleanup
7 years ago
Tony Crisci
7643765e7b
xwm: unpaired surface list cleanup
7 years ago
Alexander Taylor
3277c6d994
Fix order of WM_HINTS and WM_PROTOCOLS in xwm atom_map
7 years ago
Tony Crisci
2ff94d0036
xwm: get rid of displayable surfaces list
7 years ago
Tony Crisci
79e14f65e0
xwm: fix lists
7 years ago
Tony Crisci
fa94a06fd6
xwm: handle configure notify
7 years ago
Tony Crisci
a9d70a6256
xwm: set window attributes on create
7 years ago
Tony Crisci
a3f2754668
xwm: add surface to rootston on surface commit
7 years ago
Tony Crisci
c666d34d2d
xwm: add missing atoms to list
7 years ago
Tony Crisci
79978383ba
xwm: net active window
7 years ago
Tony Crisci
03bd34e826
xwm: atom cleanup
7 years ago
Tony Crisci
2ca502b546
Merge branch 'master' into feature/xwm-rewrite
7 years ago
Tony Crisci
0f7f6b1373
xwm: refactor xwm init
7 years ago
Tony Crisci
1dbe314937
Merge branch 'master' into feature/data-device-selection
7 years ago
Drew DeVault
c5fff08f8a
Forgot to rename these
7 years ago
Tony Crisci
fb25adae36
xwayland: use xfixes extension
7 years ago
Greg V
a5fe9aa736
Add FreeBSD compatibility
7 years ago
Drew DeVault
6aafc2f61a
Merge pull request #223 from versusvoid/xwayland-activate
...
Activate only active xwayland views
7 years ago
Drew DeVault
528f000a7a
Deactivate xwayland when focus leaves there
7 years ago
Versus Void
c22b02618c
Flush xwayland surface configuration
...
Fix #215
7 years ago
emersion
12b9b1a4bd
Copy xcb_icccm structs into wlroots
7 years ago
emersion
454a6a902b
Parse _MOTIF_HINTS
7 years ago
emersion
fc61e82795
Use pointers for xwayland hints and size_hints
7 years ago
emersion
267f24753f
Add support for WM_HINTS
7 years ago
emersion
ed9796ec68
xwayland: parse normal hints
7 years ago
emersion
ef5914bdb6
xwayland: add wlr_xwayland_surface->motif_hints
7 years ago
emersion
0c22ad09a7
xwayland: request hints
7 years ago
Versus Void
c5df6ca900
Fix memory leaks
7 years ago
Calvin Lee
dd4bdf1f56
Unset $DISPLAY until XWayland is ready
7 years ago
emersion
7f5d0624d6
Add x, y, width, height arguments to wlr_xwayland_surface_configure
7 years ago
emersion
4ccb83bf33
xwayland: add wlr_xwayland_surface_close
7 years ago
emersion
5002d968f3
xwayland: add window_type support
7 years ago
emersion
b78ae54158
xwayland: add pid support
7 years ago
emersion
97346e7a1b
xwayland: add state support
7 years ago
emersion
7c9f3240f6
xwayland: add set_parent event
7 years ago
emersion
d8c86431e0
xwayland: add signals for configure, set_{class,title}
7 years ago
emersion
f2b03b2ec1
Add reply->type checks, add XCB_ATOM_WM_TRANSIENT_FOR
7 years ago
emersion
47d767dbc4
xwayland: expose wlr_xwayland_surface_configure
7 years ago
emersion
e3917af69d
xwayland: read window title & class
7 years ago
Drew DeVault
efadbf8424
Fix atom_map usage
7 years ago
emersion
f0a14a318c
Fix segfault on startup
7 years ago
emersion
b7927078e9
x11 -> xwayland, window -> surface, fix some calloc sizes and wrong types
7 years ago
Drew DeVault
3cd4cf4fba
Fix ATOM_LAST position
7 years ago
Drew DeVault
220a6e9bf6
Add xwayland activate and fix EGL bug
7 years ago
Drew DeVault
906a816abf
Fix rootston keyboard, add Xwayland
7 years ago
Tony Crisci
368f74e4df
Refactor meson build files
...
Use tabs for indentation and break up function calls over 80 col.
7 years ago
Dominique Martinet
c278b6fd52
xwayland: free xcb events
7 years ago
Dominique Martinet
871646d225
Double-fork for xwayland execution
...
The intermediate fork needs to wait for SIGUSR1 for when Xserver is
ready, or SIGCHLD if the exec didn't work out.
Also change the exit() to _exit() as that is apparently more appropriate
for forks (and waitpid's status was wrong without it for some reason)
Fixes #122 .
7 years ago
Scott Anderson
48fa59c22e
Remove __PRETTY_FUNCTION__
...
This is pointlessly non-portable and completely equivilent to __func__
in C.
7 years ago
Dominique Martinet
b29c7d01b1
xwayland: relinquish wl_fd[0] after creating client
...
wayland WILL close this fd during wl_client_destroy, after our handler
if we close it as well this will close some of the fd we reopened
7 years ago
Dominique Martinet
4a288fdacb
xwm: free x11 windows on finish
7 years ago
Dominique Martinet
e3143b50b6
xwayland: fix some shutdown cases
7 years ago
Dominique Martinet
fd3ad3b9e4
xwayland: fix shutdown caused by Xwayland/client stop
7 years ago
Dominique Martinet
0196284331
xwm: remove xcb-util dependency
...
This hardcodes a define, but other projects (wlc/weston) either use the raw
number or just redefine it with another name anyway...
This should fix travis build.
7 years ago
Dominique Martinet
3391e5b634
xwayland: fix style issues
7 years ago
Dominique Martinet
a39b091bd9
xwm: reply to configure_requests
7 years ago
Dominique Martinet
1458a95e65
example compositor: loop through xwayland surfaces
7 years ago
Dominique Martinet
f912316d9b
xwm: handle some more events
...
handle map/unmap_notify, property_notify (just logging for now), and
client_message for wl_surface_id.
We almost can display an X window now, just need the compositor to
iterate over them
7 years ago
Dominique Martinet
eb5b9cc6da
xwayland: move & split internal header file
7 years ago
Dominique Martinet
fa0e1015c6
xwm: fix minimal init, this gets us some events on window creations
7 years ago
Dominique Martinet
6eb20fb8d2
init xwm only once Xwayland server is ready
7 years ago
Dominique Martinet
3cc5b1acc6
wlr_compositor: add signal for create_surface
7 years ago
Dominique Martinet
b2bab1af5c
xwayland: split xwm structure out, initial xwm.c
7 years ago
Dominique Martinet
49a823d4c6
Xwayland: first draft, just start server for now
7 years ago