emersion
cf10cbc00c
Use UTF-8 xwayland window title if available
7 years ago
emersion
001045e47a
xwayland: make utility windows unmanaged again
...
7f70d244a9
made utility windows
managed, because it made sense according to the spec. Turns out
Firefox uses them for popups.
7 years ago
Drew DeVault
04af09862a
Merge pull request #918 from emersion/xwayland-unmapped-request-configure
...
xwayland: forward configure events to compositor when unmapped
7 years ago
emersion
7f70d244a9
xwayland: fix some Chromium comboboxes
...
Some comboboxes (e.g. in chrome://flags) are advertized as…
Notifications of course! Yeah, notifications, the thing that
tells you you have mail, your battery is low, or the dog has
eaten your carpet. This isn't the first time we notice Chromium's
X11 backend is pretty shit.
Anyway, added notifications and splash screens to the list of
unmanaged windows. Also removed utility windows because those
should be managed, but maybe I'm wrong and I'll revert this.
7 years ago
emersion
af668ceb7c
xwayland: forward configure events to compositor when unmapped
7 years ago
emersion
c119c43b48
xwayland/selection: fix little memory leak on error
7 years ago
Drew DeVault
fac2c3e25f
Merge pull request #882 from emersion/unprefix-local-symbols
...
Remove wlr_ prefix from local symbols
7 years ago
Guido Guenther
085452f9d9
Use correct printf format specifiers for ssize_t
...
This unbreaks the build on armhf that otherwise fails like
../xwayland/selection/incoming.c: In function 'xwm_data_source_write':
../include/wlr/util/log.h:34:17: error: format '%ld' expects argument of type 'long int', but argument 6 has type 'ssize_t {aka int}' [-Werror=format=]
_wlr_log(verb, "[%s:%d] " fmt, wlr_strip_path(__FILE__), __LINE__, ##__VA_ARGS__)
^
../xwayland/selection/incoming.c:34:2: note: in expansion of macro 'wlr_log'
wlr_log(L_DEBUG, "wrote %zd (chunk size %ld) of %d bytes",
^~~~~~~
../xwayland/selection/incoming.c:34:44: note: format string is defined here
wlr_log(L_DEBUG, "wrote %zd (chunk size %ld) of %d bytes",
~~^
%d
7 years ago
emersion
625a7a48dc
Don't use the wlr_ prefix for static functions
7 years ago
emersion
71ca45e2c0
Make sure we don't use others' prefixes
7 years ago
Drew DeVault
12bf39a715
Merge pull request #885 from emersion/remove-surface-subsurface
...
Remove wlr_surface::subsurface, add wlr_subcompositor
7 years ago
n3rdopolis
a470f101c1
xwayland: preserve the PATH variable
...
Some systems don't have xwayland in /usr/bin, but in other paths.
wlroots was unable to find Xwayland binaries outside of standard locations
7 years ago
emersion
3bce5dfc9f
Fix segfaults in wlr_surface_is_*
7 years ago
emersion
fa02e30adf
xwayland: emit new_surface when unmapped
7 years ago
emersion
8dec7036d0
Always unmap before destroying surface
7 years ago
emersion
17d0440b75
Add wlr_xwayland_surface_ping
7 years ago
emersion
c55ad11d96
xwayland: add _NET_WM_WINDOW_TYPE_MENU support
7 years ago
emersion
8b07a4d055
Emit xwayland unmap signal before unmapping
...
This allows compositors to access the surface being unmapped. This
is also more consistent with the destroy signal.
7 years ago
emersion
591ea27cf9
xwayland: refactor selection code
7 years ago
emersion
67dec2da2b
xwayland: fix incoming incr transfers
7 years ago
emersion
58ac05c276
Merge branch 'master' into xwayland-dnd
7 years ago
emersion
1cd7ff7d3a
xwayland: use strndup in xwm_get_atom_name
7 years ago
emersion
d7e03c7adc
xwayland: fix outgoing incr transfers
7 years ago
emersion
8f84c5b05f
xwayland: only send one target at a time
7 years ago
emersion
103e59703f
xwayland: improve xwm_selection_send_notify
7 years ago
Drew DeVault
506acbdecd
Missed a spot
7 years ago
emersion
92b74071d0
xwayland: support multiple wayland → xwayland selection transfers
...
This fixes drag'n'drop support for Chromium.
7 years ago
emersion
8836b4f024
Merge branch 'master' into xwayland-dnd
7 years ago
emersion
692f1746cf
xwayland: specify xwm cursor stride in bytes
7 years ago
emersion
865b0aa123
xwayland: rename map_notify to map for consistency
7 years ago
emersion
cadfccf1fd
xwayland: use a separate window for drag'n'drop
7 years ago
emersion
79dd4a0ff9
xwayland: receive DND_FINISHED
7 years ago
emersion
ca2a73b90d
xwayland: allow drag data source transfer after drag ends
7 years ago
emersion
5dc5f446a8
xwayland: send drag'n'drop action to data source
7 years ago
emersion
6fd50947bd
xwayland: improve error handling
7 years ago
emersion
3effe153bc
xwayland: make wayland → xwayland work
7 years ago
emersion
30babb3865
xwayland: send DND_LEAVE
7 years ago
emersion
e208f8dd8c
xwayland: fixes events not flushed causing issues with GTK apps
7 years ago
emersion
bde859452d
xwayland: print names of unsupported properties and client messages
7 years ago
emersion
2a34b154e6
xwayland: send DND_DROP
7 years ago
emersion
73394deb76
xwayland: send DND_POSITION
7 years ago
emersion
0d7a81ccdf
xwayland: send DND_ENTER
7 years ago
emersion
b6c1760de5
xwayland: create DND window, add DND atom helpers
7 years ago
emersion
e78252adab
Fix segfault in xwm_read_data_source
7 years ago
Dominique Martinet
2910972b25
xwm.h: fix guard ifdef and remove wlr_ prefix from xwm_atoms_contains
7 years ago
Dominique Martinet
d9a724c4a2
xcb errors: init errors context at start
...
`xcb_errors_context_new` is more than just a malloc, it does a few
xcb requests so we benefit from not generating a new context everytime
7 years ago
Dominique Martinet
7d1870c6f1
move xwm.h out of include/wlr
...
xwm.h was meant to be private, so move it to include/xwayland/xwm.h
We had an ifdef WLR_HAS_XCB_ICCCM in xwayland.h which was easy to move
to xwm, it is not safe to use the WLR_HAS_* in the public headers.
I checked a few of our current users and none rely on xwm.h being
public as expected (rootston, sway, hsroots)
7 years ago
Dominique Martinet
f481791669
xcb error: get unhandled events names
...
This provides more friendly debug messages for unhandled events,
for example:
[xwayland/xwm.c:1033] unhandled X11 event: FocusOut (10)
[xwayland/xwm.c:1033] unhandled X11 event: MappingNotify (34)
7 years ago
Dominique Martinet
8026cd2a06
xcb error: always log sequence
7 years ago
Dominique Martinet
6f9da97565
xcb errors: address declare-assign style
7 years ago