420 Commits (92eedb84c153474024878a9780c83967f5bc63e6)

Author SHA1 Message Date
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
5 years ago
Scott Moreau b1a47245a1 xwm: Destroy xwm on hangup or error
5 years ago
Scott Moreau 84d2f30faa xwayland: Don't discard ready signals
5 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
6 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
Ryan Dwyer 5c5296c912 xwm: Remove child->parent pointer when parent destroys
6 years ago
emersion 9a2fb6f568
xwayland: handle configure event mask
6 years ago
Wolf480pl 3512db3ded xwayland/xwm: make hints->input default to true
6 years ago
Arkadiusz Hiler ae7c3f3d1c xwayland/xwm: Stop including xcb_image.h
6 years ago
Ryan Dwyer 44613c0fa6 xwayland: Introduce set_decorations event
6 years ago
nyorain 195103700c Fix wlr_xwayland_destroy
6 years ago
Drew DeVault 73423c988c
Merge pull request #1213 from arandomhuman/wlr_log_get_verbosity
6 years ago
random human 93382dc445
Close stdout/stderr for Xwayland
6 years ago
Ryan Dwyer b8cc4a4152 xwayland: Introduce set_role event
6 years ago
Ryan Dwyer 60a174eb11 xwayland: Introduce request_activate event
6 years ago
Ryan Dwyer 69a5279f79 xwayland: Add WM_STATE modal property
6 years ago
Scott Anderson fd3fa760d3 Revert "Revert "Merge pull request #1194 from ascent12/meson_feature""
6 years ago
Drew DeVault 9c886f20b9 Revert "Merge pull request #1194 from ascent12/meson_feature"
6 years ago
Scott Anderson 51892e0d74 Install headers explicitly
6 years ago
Scott Anderson 784c20c82f Use new options for X11 backend and Xwayland
6 years ago
Markus Ongyerth 81cc842f8f reintroduce xwayland is_unmanaged
7 years ago
Drew DeVault f1b65b34a6
Merge pull request #1127 from emersion/surface-precommit
7 years ago
Drew DeVault 4b096fc114 Revert "Merge pull request #1153 from emersion/include-config"
7 years ago
emersion 41094a7df5 Always include config.h
7 years ago
Ryan Dwyer dc58c1356d Introduce set_hints event for xwayland
7 years ago
emersion 5dca4741df xwayland: make xwm_surface_activate static
7 years ago
emersion 153f37bdf5 xwayland: handle override_redirect flag changes
7 years ago
emersion 16d7e09d99 surface: add wlr_surface_role.precommit
7 years ago
Drew DeVault e226e2c011 Missed some old wlr_log calls
7 years ago
Drew DeVault c0b4217fce
Merge pull request #1116 from emersion/surface-role
7 years ago
emersion 7cbef15206
util: add wlr_ prefix to log symbols
7 years ago
emersion 33db4263a0
surface: replace wlr_surface_set_role_committed with wlr_surface_role
7 years ago
Armin Preiml 26b2012b5e fix style issue
7 years ago
Armin Preiml e6d613ca2e fix: add stack update on focus change
7 years ago
Armin Preiml f93234d6f5 fix: tabs instead of spaces
7 years ago
Armin Preiml d0b3aed584 do not send focus request to a window that doesn't allow this
7 years ago
Dominique Martinet 4a1c9a1925 xwm: fix use-after-free involving parents/children
7 years ago
Ilia Bozhinov 5dd1a838f3 xwm: set the proper event mask in client messages
7 years ago
Scott Anderson 1a3921d4d4 Remove unused argument
7 years ago
Vincent Vanlaer 72a75b3a72 Fix Xwayland cleanup
7 years ago
emersion 8e831cd416
Merge pull request #959 from VincentVanlaer/xwayland-lazy
7 years ago
Vincent Vanlaer 119a6cf35c Make xwayland_finish* clean up wlr_xwayland
7 years ago
Vincent Vanlaer 80586b8f6b Clean up events
7 years ago
Vincent Vanlaer 446ea3a340 Add beter handling for Xwayland failing at startup
7 years ago
Vincent Vanlaer c80bf1591e Allow xwayland to start lazily
7 years ago
emersion cf10cbc00c
Use UTF-8 xwayland window title if available
7 years ago
emersion 001045e47a
xwayland: make utility windows unmanaged again
7 years ago
Drew DeVault 04af09862a
Merge pull request #918 from emersion/xwayland-unmapped-request-configure
7 years ago
emersion 7f70d244a9
xwayland: fix some Chromium comboboxes
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
7 years ago
Guido Guenther 085452f9d9 Use correct printf format specifiers for ssize_t
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
7 years ago
n3rdopolis a470f101c1
xwayland: preserve the PATH variable
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
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
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
7 years ago
Dominique Martinet 7d1870c6f1 move xwm.h out of include/wlr
7 years ago
Dominique Martinet f481791669 xcb error: get unhandled events names
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
Dominique Martinet f8428d1063 xcb errors: optional dependency with improved messages
7 years ago
Dominique Martinet 2a9ba5c8dc xcb errors: log raw values
7 years ago
Dominique Martinet 5ec06dcecd xwm: fix call of xcb_change_window_attributes for old gcc versions
7 years ago
Markus Ongyerth bb676013ed add xwayland unmanaged tests to support dmenu
7 years ago
emersion b1e2718dd7
xwayland: fix some use-after-free in xwm
7 years ago