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