415 Commits (1cd53f54b77a1b54edf51fb13e3fb26d27c48538)

Author SHA1 Message Date
Simon Ser de5347d0f2 xwayland: require xcb-icccm
4 years ago
Simon Ser 96aa18ae44 xwayland: assume no WM_HINTS means window wants input
4 years ago
Simon Ser e6f6e1ad0a xwayland: use -listenfd if available
4 years ago
Simon Ser eec2e1d3b1 xwayland: check executable exists on init
4 years ago
Simon Ser 3504bb587d xwayland: add dependency on xwayland
4 years ago
Simon Ser 6f873078d4 build: use dictionnary for features instead of configuration_data
4 years ago
Tudor Brindus 2118a3ce47 xwayland/selection: flush connection after changing xwm selection owner
4 years ago
Tudor Brindus 2827a9554c xwayland/selection: log when proxy window loses ownership
4 years ago
Tudor Brindus 7d52b4d0b5 xwayland/selection: ignore requests for anything but the newest data
4 years ago
Ilia Mirkin 8ad078f46f xwayland: free render picture backing cursor
4 years ago
Manuel Stoeckl 79be26ff1f xwayland/xwm: make atom_map const
4 years ago
Tudor Brindus 3d46d3f7a1 xwayland/selection: allow simultaneous Wayland-to-X11 transfers
4 years ago
Tudor Brindus 2fa257313a xwayland/selection: use one target window per selection
4 years ago
Tudor Brindus 7964a313e8 xwayland/selection: use one X11 window per incoming transfer
4 years ago
Tudor Brindus dd4c8aa45e xwayland/selection: make xwm_selection_init take a wlr_xwm_selection *
4 years ago
Tudor Brindus b3d782f818 xwayland/selection: introduce `xwm_selection_transfer_init`
4 years ago
Tudor Brindus aa86a022fa xwayland/selection: make xwm_selection_finish take a wlr_xwm_selection *
4 years ago
Tudor Brindus b6ba595862 xwayland/selection: destroy all selections on Xwayland restart
4 years ago
Tudor Brindus 3417fc0cca xwayland/selection: don't leak Wayland fd if ConvertSelection fails
4 years ago
Tudor Brindus e0dfc14983 xwayland/selection: don't request another selection while one is pending
4 years ago
Tudor Brindus 211c1e23be xwayland/selection: end incr transfer on empty prop, not next selection
4 years ago
Tudor Brindus 703c17ae41 xwayland/selection: refactor remaining incremental transfer code
4 years ago
Tudor Brindus 23148d283f xwayland/selection: extract out property requests
4 years ago
Tudor Brindus dea94f2bad xwayland/selection: simplify incremental transfer control flow
4 years ago
Tudor Brindus 10a2d57055 xwayland/selection: explicitly bail if first write to Wayland fd fails
4 years ago
Tudor Brindus 40b2e7669a xwayland/selection: make `xwm_data_source_write` return 0 on failure
4 years ago
Simon Ser f8a66072e7 xwayland: fix extraneous NET_WM_STATE log messages
4 years ago
Tudor Brindus e75f483aeb xwayland/selection: rename Wayland-facing data and helpers
4 years ago
Tudor Brindus 0db191d3bf xwayland/selection: prevent fd leak on unsupported MIME type
4 years ago
Tudor Brindus abb56152ff xwayland: use wlr_log_errno instead of %m
4 years ago
BrassyPanache d6649a8a4b Expose ICCCM input status
4 years ago
Chris Chamberlain 6af748171a Free xwayland cursor in wlr_xwayland_destroy
4 years ago
Simon Ser 7036dceb0e xwayland: remove protocol debug messages
4 years ago
Isaac Freund 6c08fe9796 xwayland: avoid crash on repeated server_finish_display() call
4 years ago
Simon Ser e57a52e7f7
Remove inline keyword
4 years ago
Dominik Honnef 431ec52b9c xwayland: use pipe instead of SIGUSR1 to signal readiness
4 years ago
Simon Ser 50b5f8558e
xwayland: add -core to flags
4 years ago
Ilia Bozhinov d2329ac07a xwm: add wlr_xwayland_surface_restack()
4 years ago
Simon Ser be1e7647c3 xwayland: log unhandled NET_WM_STATE property changes
4 years ago
Simon Ser 1fdaaf697a
xwayland: minor code style fixes
4 years ago
Tudor Brindus 5217456b50 xwayland: fix minor typo in debug log
4 years ago
Ilia Bozhinov 99f3c643bf xwayland: add set_geometry event
4 years ago
Tudor Brindus afeb941ca0 xwayland: notify requestor when we fail to respond to their request
4 years ago
Tudor Brindus 7bb9d48dd1 xwayland: remove stale transfers from the same requestor
4 years ago
Tudor Brindus 1b0e4c7e6e xwayland: introduce WLR_XWAYLAND for specifying which Xwayland to use
4 years ago
Tudor Brindus feb0e1c74d xwayland: fix use-after-free in selection handling
4 years ago
Tudor Brindus ab80ad902e xwayland: using %m in `wlr_log` is broken, use `wlr_log_errno` instead
4 years ago
Rouven Czerwinski 5012121d33 xwm: add loop detection for read_surface_parent
4 years ago
Ilia Bozhinov 3e03f786ee xwayland: disconnect display destroy listener even if xwayland didn't initialize
4 years ago
Ilia Bozhinov 74f7be7287 xwayland: do not allow apps to change focus after wlroots request
4 years ago
Scott Moreau 6d0ee53e1a xwm: Set _NET_WM_STATE_FOCUSED property for the focused surface
4 years ago
Antonin Décimo 1ae2d976c0 xwayland: free server in error path
4 years ago
Antonin Décimo d9bb792794 Fix incorrect format parameters
4 years ago
Simon Ser c72efcd1ce xwayland/xwm: use initializer for props in xsurface_set_wm_state
4 years ago
Simon Ser 13f35139d3 xwayland/xwm: add prop count assert in xsurface_set_net_wm_state
4 years ago
Simon Ser cd4827b3b6 xwayland/xwm: don't insert surface in list on error
4 years ago
Tobias Langendorf bd387da62d xwm: add support for xwayland minimize
4 years ago
John Chadwick 58bcec9d94 xwm: end transfers when the requestor is destroyed
4 years ago
Scott Moreau b1a47245a1 xwm: Destroy xwm on hangup or error
4 years ago
Scott Moreau 84d2f30faa xwayland: Don't discard ready signals
4 years ago
Tudor Brindus 5947160630 xwayland: add error-checking to `server_start_lazy`
5 years ago
Tudor Brindus 0758a4fc9d xwayland: send focus change event unconditionally
5 years ago
Simon Ser 2176c63856 xwayland: add option to disable WM
5 years ago
Simon Ser 27609ba0d9 xwayland: split server
5 years ago
Simon Ser 4bb391c896 xwayland: remove underscore prefix from atom names
5 years ago
Simon Ser 175af4f74f xwayland: remove duplicate _NET_WM_NAME entry
5 years ago
Simon Ser 68a69ee079 xwayland: use explicit indexes when initializing atom_map
5 years ago
Simon Ser 68820d6c3d xwayland: ignore pointer focus changes
5 years ago
Ilia Bozhinov c067fbc010 xwm: allow applications to change focus between their own surfaces
5 years ago
Scott Moreau a9b1d9e838 xwayland: Clean up if Xwayland fails to start
5 years ago
Scott Anderson cff1c2f740 meson: Various improvements
5 years ago
Scott Moreau 3b4824a2fe xwayland: Expose configure request mask
5 years ago
Antonin Décimo 8d5f27ef25 xwayland: prevent possible array overrun
5 years ago
Simon Ser ca45f4490c Remove all wayland-server.h includes
5 years ago
Manuel Stoeckl edb30a6828 Implement serial validation for selection requests
5 years ago
emersion 8363ca8c9f
xwayland: set CLOEXEC on /dev/null FD
6 years ago
emersion 9601019192 xwayland: don't set DISPLAY
6 years ago
Ilia Bozhinov fb106eb979 xwm: fix typos in WM_NORMAL_HINTS handling
6 years ago
Ilia Bozhinov c9b9e48525 xwm: use min size as base size hint if it is missing and vice versa
6 years ago
emersion 5445d8aad0 meson: enable more compiler warnings
6 years ago
emersion cfe7e28416
xwayland: remove remaining SOCK_CLOEXEC
6 years ago
emersion cb0a91e45a
xwayland: don't use SOCK_CLOEXEC
6 years ago
emersion 81ed1efe4f
xwayland, data-device: fix surface state on unmap
6 years ago
Uli Schlachter e7d9cf5815 xwm: Add _NET_CLIENT_LIST support
6 years ago
Brian Ashworth db6206aa1c xwm: stack below on map
6 years ago
emersion 556bf3ac31
data-device: destroy previous source when starting drag
6 years ago
John Chen 819bd3e344 Fix another instance of swaywm/sway#3545.
6 years ago
emersion 1150ff13ce
data-device: make sources inert, rename cancel to destroy
6 years ago
emersion 4cb0697e57 data-device, primary-selection: add request_set_selection
6 years ago
emersion 06467d2e12
primary-selection: add a serial argument
6 years ago
Dominique Martinet 384642b394 xwayland: remove clearenv() call
6 years ago
emersion 9f0720c03a
primary-selection: introduce wlr_primary_selection_source
6 years ago
emersion bfa7f4ee0d
gtk-primary-selection: use impl pattern for sources
6 years ago
emersion f001f98cef
gtk-primary-selection: refactor everything, untie from seat
6 years ago
emersion 811a4d997b
Rename wlr_primary_selection to wlr_gtk_primary_selection
6 years ago
emersion 51bfdd620e
Use #if instead of #ifdef for wlroots config data
6 years ago
emersion 2d0c5ec78e
Use _POSIX_C_SOURCE, use shm_open
6 years ago
emersion 54e78e9e26
xwayland: don't fail if XDG_RUNTIME_DIR is not set
6 years ago
emersion f745befc06
xwayland: fix typo to enable transparency
6 years ago
Ryan Dwyer bc52de031e xwm: Unset min/max size hints if they're not used
6 years ago