Ilia Bozhinov
2e6eb097b6
rootston: focus newly-created surfaces
...
Whenever a new surface is created, we have to update the cursor focus,
even if there's no input event. So, we generate one motion event, and
reuse the code to update the proper cursor focus. We need to do this
for all surface roles - toplevels, popups, subsurfaces.
Fixes #1162
6 years ago
Drew DeVault
f1b65b34a6
Merge pull request #1127 from emersion/surface-precommit
...
surface: add wlr_surface_role.precommit
6 years ago
Genki Sky
b6ed1f29a4
rootston: Reap child processes
...
Just install a SIG_IGN handler, which is defined by POSIX.1-2001 to
reap the child.
To test, spawn any process (e.g. GUI application) with a keybinding,
close that process, verify it doesn't show up as a <defunct> zombie in
ps(1) output.
6 years ago
emersion
2297797bf9
Merge pull request #1159 from ammen99/master
...
xdg-shell(-v6): add set_title and set_app_id toplevel signals
6 years ago
Ilia Bozhinov
8b7c85d765
xdg-shell(-v6): add set_title and set_app_id toplevel signals
...
This is useful for example when rendering decorations
6 years ago
emersion
8935f3724d
Merge pull request #1149 from emersion/export-map-without-version
...
Remove symbol versioning from DSO
6 years ago
Drew DeVault
70ebe88b55
Merge pull request #1155 from emersion/fix-os-compat-config
...
util: include config in os-compatibility.c
6 years ago
emersion
a3b90bace3
util: include config in os-compatibility.c
6 years ago
Drew DeVault
4b096fc114
Revert "Merge pull request #1153 from emersion/include-config"
...
This reverts commit ef0a6ea4d2
, reversing
changes made to 8d03bc9178
.
6 years ago
Drew DeVault
83009d69bf
Merge pull request #1152 from emersion/improve-os-compat
...
Use posix_fallocate when available
6 years ago
emersion
e02c486b60
Use posix_fallocate when available
6 years ago
Drew DeVault
ef0a6ea4d2
Merge pull request #1153 from emersion/include-config
...
Always include config.h
6 years ago
emersion
41094a7df5
Always include config.h
6 years ago
emersion
47ca79222b
Remove symbol versioning from DSO
6 years ago
Drew DeVault
8d03bc9178
Merge pull request #1148 from emersion/rename-linux-dmabuf
...
linux-dmabuf: add v1 suffix
6 years ago
emersion
5dbf0fe7f2
linux-dmabuf: add v1 suffix
...
This prevents some future conflicts with the stable version.
Fixes #1133
6 years ago
emersion
fdff5fd1b6
Merge pull request #1147 from RyanDwyer/xwayland-set-hints
...
Introduce set_hints event for xwayland
6 years ago
Ryan Dwyer
dc58c1356d
Introduce set_hints event for xwayland
6 years ago
Drew DeVault
83809cb7d2
Merge pull request #1145 from emersion/override-redirect-updates
...
xwayland: handle override_redirect flag changes
6 years ago
emersion
5dca4741df
xwayland: make xwm_surface_activate static
6 years ago
emersion
153f37bdf5
xwayland: handle override_redirect flag changes
...
The override_redirect flag can change on configure notify and
on map notify. This adds an event to know when it changes.
This removes wlr_xwayland_surface_is_unmanaged which was wrongly
using the window type to decide whether the view should be
unmanaged.
A similar patch was proposed to Weston, but has never been
merged upstream [1].
[1]: https://patchwork.freedesktop.org/patch/211161/
6 years ago
emersion
ed26b19f05
Merge pull request #1144 from agx/doc-headless
...
Document WLR_HEADLESS_OUTPUTS
6 years ago
Guido Günther
cdbeaef5dd
Document WLR_HEADLESS_OUTPUTS
6 years ago
Drew DeVault
2a58d4467f
Merge pull request #1136 from emersion/remove-unused-tablet-v2
...
Remove unused types/wlr_tablet_v2.c
6 years ago
emersion
4afd69bbe7
Remove unused types/wlr_tablet_v2.c
6 years ago
Drew DeVault
7f20ab6443
Merge pull request #960 from Ongy/tablet
...
tablet-unstable-v2 support
6 years ago
emersion
16d7e09d99
surface: add wlr_surface_role.precommit
...
This allows to emit the unmap event before the surface becomes
actually unmapped for most shells.
6 years ago
Markus Ongyerth
9a6f77fc2c
tablet-v2: fix merge commits and test again
...
There were a few issues after rebase, that the merge algorithm didn't
throw at my face:
wlr_output did a check on the actual role, not a string anymore, so that
had to go to allow tablet-v2 to set cursor surfaces.
A few L_DEBUG/L_ERRORs were still around
There was a user-after-free in tablet-group free()ing, probably after
insufficient testing from a previous feedback pass
6 years ago
Markus Ongyerth
74ca2f8fcf
Another round of feedback from acrisci
6 years ago
Markus Ongyerth
43b20bfea2
First feedback pass from acrisci
6 years ago
Markus Ongyerth
9313ac1068
propagate rename to rootston code
6 years ago
Markus Ongyerth
36955204cf
Remove last remnant of tool_tool in libinput
6 years ago
Markus Ongyerth
d9e978e1b3
rename wlr_tablet_tool to wlr_tablet
...
The previous naming was based on the input-device capability names from
libinput.
With code that uses the libinput_tablet_tool and mapping into tablet-v2,
this is confusing, so the name is changed to follow the names used in
the protocol.
6 years ago
Markus Ongyerth
b84288af16
Remove unused tablet_pad list from tools
6 years ago
Markus Ongyerth
101080a382
Another feedback pass
6 years ago
Markus Ongyerth
6b51f3b57a
use previous resource versions and destroy pads
6 years ago
Markus Ongyerth
48e2cba9b6
Handle relative motion for mouse tools
6 years ago
Markus Ongyerth
503f9d6e52
emersion feedback
...
Introduce TABLET_MANAGER_VERSION and remove the wlr_tablet_tool_tool.c
6 years ago
Markus Ongyerth
5cbdd13df8
remove unused wl_listener
6 years ago
Markus Ongyerth
3be916f9b8
Add asserts and rename destroy function in libinput backend
6 years ago
Markus Ongyerth
2bc09d91c3
Silent conversion from double to int should be illegal
6 years ago
Markus Ongyerth
dc525a9c5f
Clean up serial handling and automate proximity acompaning events
6 years ago
Markus Ongyerth
25c2808153
Clean up serial handling
6 years ago
Markus Ongyerth
88a4b908d1
Hide pad auxiliary data in .c file
6 years ago
Markus Ongyerth
fa39fd178d
Split tablet_v2 implementation for easier maintainance
6 years ago
Markus Ongyerth
2c12011472
Send all tablet tool axis events
6 years ago
Markus Ongyerth
6a40561e4c
Fix clang build errors
6 years ago
Markus Ongyerth
2155c976f6
Improve inert resource handling
6 years ago
Markus Ongyerth
b79d11395c
Hook up set_cursor in rootston
6 years ago
Markus Ongyerth
0c9a26828a
Use wlr_list for paths, and improve inert resource handling
6 years ago