Johan Malm
71f8aca66b
xwayland-unmanaged: wl_list_remove() missing listeners on destroy
2022-06-05 23:34:04 +02:00
Johan Malm
cbc80c196c
xwayland-unmanaged: remove excessive logging
2022-06-05 23:34:04 +02:00
Joshua Ashton
538fa1f244
xwayland-unmanaged: Fix set_geometry using container_of of wrong member
...
Fixes a segfault with starting Steam.
2022-06-05 21:54:26 +01:00
Johan Malm
2a14e8271b
xwayland-unmanaged: fix typo
2022-06-05 09:55:25 +01:00
Johan Malm
9dcabbcfdd
xwayland-unmanaged: prepare for handling more events
...
Sway handles some xwayland events that labwc still does not. This commit
just starts to rig up some handlers for these with log messages if they
are caught.
- set_geometry: try to handle, but cannot find an application that uses
it, so is untested.
- request_activate - just log caught event
- override_redirect - just log caught event
2022-06-05 09:45:58 +01:00
Johan Malm
96315def57
xwayland-unmanaged: put all surfaces under server->unmanaged_tree
...
...in order to render all unmanaged surfaces above views just like sway
does it:
e5728052b5/sway/desktop/render.c (L1148)
Fixes issue #367
2022-06-05 08:35:03 +01:00
Jelle De Loecker
61675b521c
xwayland-unmanaged: focus parent surface on unmap
...
Re-focus on parent surface if it is available
Fixes #352 relating to JetBrains and Intellij focus issues
2022-05-30 16:14:32 +01:00
Consolatis
163179dda1
Chase wlroots: wlr_scene_surface
...
To update the wlroots subproject use
meson subprojects update wlroots
2022-05-26 06:48:00 +01:00
Johan Malm
81f216b6a2
xwayland: handle set_override_redirect events
...
This is needed to allow X11 applications to create surfaces as
non-override_redirect and then change them to override_redirect later
Without this gitk-menus and rofi are treated as xwayland-views with
associated server-side-decoration and forced positioning.
2022-05-03 20:45:30 +01:00
Johan Malm
bd9ac3478a
Remove src/damage.c
2022-03-01 20:54:52 +00:00
Johan Malm
e289100a54
xwayland-unmanaged: fix dereference NULL pointer bug
...
Discovered when right-clicking names in hexchat
2022-03-01 20:45:31 +00:00
Consolatis
17d83402ee
xwayland.c: Fix xwayland views activating themself before mapping
2022-02-23 21:47:01 +00:00
Consolatis
a2523081e2
Handle 'lost' unmanaged xsurfaces + improve cursor handling
2022-02-23 21:47:01 +00:00
Johan Malm
532656ad5b
Use wlroots scene-graph API
...
Move xdg-shell and xwayland-shell surfaces to new API
Also render alt-tab on-screen-display by converting cairo-surface to
wlr_buffer
2022-02-23 21:46:48 +00:00
Johan Malm
ebb632419b
*.c: add SPDX-License-Identifier
2021-09-24 21:45:48 +01:00
Johan Malm
54804fd3df
Implement damage tracking
2021-01-09 22:51:20 +00:00
Johan Malm
9342b2b414
seat: refactor seat_focus_surface()
2020-10-08 20:22:52 +01:00
Johan Malm
8e2b3ea89a
seat: remove seat_focused_surface()
2020-10-07 21:49:58 +01:00
Johan Malm
e400700a4a
seat: refactor seat_focus_surface()
2020-10-06 21:31:01 +01:00
Johan Malm
96e05057a3
Update .clang-format
...
Align with wlroots style
2020-09-28 20:41:41 +01:00
Johan Malm
e99d0bb34e
labwc.h: remove "extern struct server server"
2020-09-08 20:18:12 +01:00
Johan Malm
8e7f2e78cd
Add xwayland-unmanaged.c
...
Handle xwayland override_direct surfaces separately from the view
struct - in order to simplify code, particularly in view.c
2020-09-04 20:25:20 +01:00