Enrico Weigelt, metux IT consult
4e53612347
test: xi2: drop unused variable
...
fix warning:
> ../test/xi2/protocol-eventconvert.c:276:9: warning: variable 'buttons' set but not used [-Wunused-but-set-variable]
> int buttons, valuators;
> ^
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1429 >
2024-03-22 00:33:29 +00:00
Enrico Weigelt, metux IT consult
f7a97a7ab0
test: simple-xinit: add _X_NORETURN
...
fix warning:
> ../test/simple-xinit.c:58:1: warning: function 'usage' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1429 >
2024-03-22 00:33:29 +00:00
Enrico Weigelt, metux IT consult
58117a0c3e
meson.build: move manpage specific stuff to man/ subdir
...
Tidy up the huge file a little bit.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1433 >
2024-03-21 23:07:13 +00:00
Enrico Weigelt, metux IT consult
8dc82a13a9
os: rpc: fix type mismatch
...
fix warning:
> ../os/rpcauth.c:159:16: warning: result of comparison of constant -1 with expression of type 'XID' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
> if (rpc_id == ~0L)
> ~~~~~~ ^ ~~~
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1431 >
2024-03-21 22:57:40 +00:00
Enrico Weigelt, metux IT consult
f361931035
xfree86: int10: fix missing include of <errno.h>
...
It's much cleaner to always include directly what one needs,
instead of relying on very indirect including.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1435 >
2024-03-21 17:32:30 +01:00
Enrico Weigelt, metux IT consult
cd84b3eaf3
xfree86: modesettig: fix missing include of <errno.h>
...
It's much cleaner to always include directly what one needs,
instead of relying on very indirect including.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1435 >
2024-03-21 17:32:30 +01:00
Enrico Weigelt, metux IT consult
9fc6e0d304
xfree86: os-support: fix missing include of <errno.h>
...
It's much cleaner to always include directly what one needs,
instead of relying on very indirect including.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1435 >
2024-03-21 17:32:30 +01:00
Enrico Weigelt, metux IT consult
d91098ef48
xfree86: common: fix missing include of <errno.h>
...
It's much cleaner to always include directly what one needs,
instead of relying on very indirect including.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1435 >
2024-03-21 17:32:30 +01:00
Enrico Weigelt, metux IT consult
b2fd743288
xwayland: fix missing include of <errno.h>
...
It's much cleaner to always include directly what one needs,
instead of relying on very indirect including.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1435 >
2024-03-21 17:32:30 +01:00
Enrico Weigelt, metux IT consult
94e5252365
xquartz: fix missing include of <errno.h>
...
It's much cleaner to always include directly what one needs,
instead of relying on very indirect including.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1435 >
2024-03-21 17:32:30 +01:00
Enrico Weigelt, metux IT consult
dfa606d5a4
os: fix missing include of <errno.h>
...
It's much cleaner to always include directly what one needs,
instead of relying on very indirect including.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1435 >
2024-03-21 17:32:30 +01:00
Enrico Weigelt, metux IT consult
d66acae501
Xext: fix missing include of <errno.h>
...
It's much cleaner to always include directly what one needs,
instead of relying on very indirect including.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1435 >
2024-03-21 17:32:30 +01:00
Olivier Fourdan
821d3d5789
xwayland: Use fractional scale with rootful
...
Implement fractional scale with Xwayland rootful by scaling the content
to the desired fractional scale using a viewport.
For now this applies to Xwayland rootful only.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Olivier Fourdan
3e77c1699a
xwayland: Add helper function for fractional scaling
...
Fractional scaling may not be available, or not suitable for the current
configuration (e.g. if running rootless).
Add a helper function to tell whether fractional scaling should be used.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Olivier Fourdan
7a78756d0a
xwayland: Add support for fractional scale protocol
...
Add support for wp_fractional_scale_v1 protocol.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Olivier Fourdan
98692300f5
build: Bump wayland-protocols requirement to 1.31
...
This is needed to support the "wp-fractional-scale-v1" protocol.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Olivier Fourdan
da84b470cb
xwayland: Rename xwl_window_enable_viewport()
...
To support the fractional scale protocol, we need a viewport.
Rename the existing function xwl_window_enable_viewport() to avoid
confusion with the viewport we use for fullscreen XRandR emulation in
rootless mode.
No functional change.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Olivier Fourdan
4003b1f9a2
xwayland: Update the global screen scale
...
Recompute and update the global screen scale based on the different
outputs the root window is placed on.
For backward compatibility, this functionality is however disabled by
default and can be enabled using a new command line option "-hidpi".
That option has no effect if Xwayland is running rootless.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Olivier Fourdan
290ae87c02
xwayland: Update the scale based on enter/leave events
...
Recompute the window scale each time the window enters or leaves an
output.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Olivier Fourdan
4248bfb0da
xwayland: Keep track of outputs per window
...
Add a list of outputs a window is placed on, adding an output whenever
the surface enters the output and removing it once it leaves the output.
Note that not all Wayland compositors actually send a leave surface
event on output removal, so we need to make sure to remove the output
from the list for each window, otherwise we might end up pointing to
freed memory.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Olivier Fourdan
cd0c43df13
xwayland: Make has_viewport_enabled private
...
By using a sensible scale factor for input even when there is no
viewport enabled, no need to have xwl_window_has_viewport_enabled()
public anymore.
Small cleanup, no functional change.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Olivier Fourdan
d7f31fe887
xwayland: Apply the viewport's scale_x/y to all input
...
The viewport's scale_x/y is currently applied to the motion event only.
Apply the same viewport_scale_x/y to all relevant input coordinates.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Olivier Fourdan
3ea36e5214
xwayland: Always set the viewport scale factor
...
When the viewport is disabled, set the scale x/y back to 1.0 so that we
can apply the scale factor regardless of the viewport being enabled.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Olivier Fourdan
96fd7cc8c9
xwayland: Rename scale_x/y to viewport_scale_x/y
...
The scale_x/y factor applies when a viewport is in use, rename the
fields to reflect that and distinguish these from the other scale
factors such as the core protocol surface scale and the fractional
scaling.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Olivier Fourdan
54f8fc4090
xwayland: Account for the scale factor
...
Apply the scale factor to the root window and adjust the coordinates and
hotspot location for cursors.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Olivier Fourdan
b678297c53
xwayland: Add scale factor to the Xwayland screen
...
For now, the global surface scale is always 1, no functional change.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Olivier Fourdan
2bdf594cea
xwayland: Track output scales
...
Keep track of the output scales as advertised by the wl_output protocol.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Olivier Fourdan
5b05a29912
xwayland: Use CRTC transforms
...
Advertise the scaling factor applied to the Xwayland output using the
mechanism of CRTC transforms.
That allows for X11 clients to query the scale factor using XRandR.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Olivier Fourdan
6a09cd2d20
xwayland: Introduce output scale
...
Add a scale factor to the Xwayland output and take the scale into
account when computing the screen size.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Olivier Fourdan
8c54f90673
xwayland: Store the mode width/height
...
The mode size can be different from the actual output size when a
transformation is at play.
Store the actual mode width/height as well in preparation for adding
support for transforms.
No functional change.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Olivier Fourdan
32dad24083
xwayland: Use double for screen size
...
Use double precision floating point for the screen size to reduce the
rounding issues when using fractional scaling.
Introduce a couple of simple convenient functions that round the
floating point value into an integer and use it in place of directly
accessing the xwl_screen width/height for integer computation.
This is preparation work for the introduction of fractional scaling,
there should be no functional change at this point.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Reviewed-By: Kenny Levinsen <kl@kl.wtf >
Acked-by: Peter Hutterer <peter.hutterer@who-t.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197 >
2024-03-20 09:05:36 +01:00
Alan Coopersmith
e1c5be126b
bsd_init.c: fix build on FreeBSD
...
Commit 0d4a7ed6 put the definition of pcvt_version inside #ifdef __NetBSD__
but left one use of it outside of the ifdefs, resulting in a build failure
on FreeBSD 14.0 in the gitlab CI for xf86-input-keyboard.
../hw/xfree86/os-support/bsd/bsd_init.c:540:21:
error: use of undeclared identifier 'pcvt_version'
pcvt_version.rmajor, pcvt_version.rminor);
^
../hw/xfree86/os-support/bsd/bsd_init.c:540:42:
error: use of undeclared identifier 'pcvt_version'
pcvt_version.rmajor, pcvt_version.rminor);
^
Fixes: 0d4a7ed68 ("bsd_init.c: fix build on OpenBSD")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1424 >
2024-03-20 03:32:23 +00:00
Enrico Weigelt, metux IT consult
2003adfd33
xwin: consolidate debugging symbols
...
We've got three #define's that are all set at once, on enable_debugging.
A comment in meson.build already asks for consolidating them into one,
so just do it now.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1409 >
2024-03-19 02:05:35 +00:00
Enrico Weigelt, metux IT consult
d8758cdd20
xfree86: os-support: ppc_video: drop unused DEV_MEM define
...
This #define is local within a .c file, but became unused about a
decade ago (commit 8686463de7 ).
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1410 >
2024-03-19 01:59:38 +00:00
Enrico Weigelt, metux IT consult
0cb8a76a9f
xfree86: os-support: drop obsolete Solaris specific LED defines
...
Historical legacy: the LED ID defines have/had different naming across various
platforms - for better portability of the keyboard driver, those have been
aliased to BSD's naming scheme. Meanwhile, lots of ancient platforms have
been died or moved to other drivers (eg. Linux went to either evdev or libinput
and not supported by the xf86-input-keyboard driver anymore).
The only remaining possible consumer is Solaris. But it has it's own dedicated
code (sun_kbd.c in xf86-input-keyboard), which already using the Solaris' naming.
Therefore, there's no actual consumer of them left, so we can drop them.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1418 >
2024-03-19 00:54:38 +00:00
Peter Hutterer
052909ab9b
CI: Only run the driver build job on Xorg changes
...
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1318 >
2024-03-19 00:37:35 +00:00
Peter Hutterer
89b7f45010
CI: add a driver build stage to check for header breakage
...
Pull a few drivers and try to build their most recent release (or a
specific SHA) and see if they still build. If they do, yay, otherwise
fail.
Dependency-wise we need to keep libevdev-dev and libinput-dev around
now and add libspice-protocol-dev for the qxl driver.
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1318 >
2024-03-19 00:37:35 +00:00
Peter Hutterer
924939c886
Revert "Fix missing includes of <errno.h>"
...
Removing errno from xf86_OSlib.h breaks the xf86-input-mouse driver
build. And xf86_OSlib.h itself relies on errno anyway in the SYSCALL
macro provided by this header.
This reverts commit f6a367102c .
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1423 >
2024-03-19 00:33:26 +00:00
Olivier Fourdan
792758faa5
xwayland: Update lost focus on deactivation
...
Use the "activated" state from xdg-shell to call the pointer and
keyboard leave events when running rootful.
The regular pointer and keyboard leave notifications are now ignored
when running rootful.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1604
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1213 >
2024-03-18 23:34:29 +00:00
Olivier Fourdan
122ad8a0de
xwayland: Introduce xwl_screen_lost_focus()
...
xwl_screen_lost_focus() calls the keyboard and pointer leave functions
for each seat.
No functional change.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1213 >
2024-03-18 23:34:29 +00:00
Olivier Fourdan
654c354da9
xwayland: Move the leave kbd/ptr code
...
Move part of the code that deals with pointer or keyboard leave
notifications to their own function.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1213 >
2024-03-18 23:34:29 +00:00
Enrico Weigelt, metux IT consult
afaad1b847
include: add comment on _XSERVER64 define
...
Since the whole 32/64 bit issue is a bit complex, it's worth adding some
comment on what the _XSERVER64 symbol really is needed for.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1413 >
2024-03-18 23:24:36 +00:00
Olivier Fourdan
9a7fb3a153
xwayland: Use "-decorate" if available
...
That allows to open new Xwayland decorated windows as needed (e.g. using
the "New window" entry from the launcher)
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1421 >
2024-03-18 23:19:59 +00:00
Olivier Fourdan
fbf5e26b5c
xwayland: Use full path for Xwayland exec
...
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1421 >
2024-03-18 23:19:59 +00:00
Olivier Fourdan
66b371f306
xwayland: Add the Exec key to the desktop file
...
This was intentionally left out, but it's against the spec.
Add an Exec key to be conformant.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1654
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1421 >
2024-03-18 23:19:59 +00:00
Enrico Weigelt, metux IT consult
ccfa7e9f2e
Fix missing include of <sys/wait.h>
...
Instead of relying on indirect includes, it's much cleaner if everybody
includes directly what he needs.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1419 >
2024-03-18 23:02:45 +00:00
Enrico Weigelt, metux IT consult
f6a367102c
Fix missing includes of <errno.h>
...
It's much cleaner to always include directly what one needs,
instead of relying on very indirect including.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1416 >
2024-03-18 22:58:32 +00:00
Olivier Fourdan
54a2dfc229
xwayland: Drop xwl_window_buffers_get_pixmap()
...
This just calls into xwl_window_swap_pixmap() so we can just use that
instead (Michel).
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1386 >
2024-03-18 15:41:18 +00:00
Olivier Fourdan
656d2efd4b
xwayland/glamor: Drop xwl_glamor_needs_n_buffering()
...
This function always return TRUE now that EGLSTream is gone, so we can
remove it.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1386 >
2024-03-18 15:41:18 +00:00
Olivier Fourdan
d422b40926
xwayland/glamor: Drop xwl_glamor_needs_buffer_flush()
...
GLAMOR needs that, and the function returns TRUE unless GLAMOR is not
used.
Drop the function xwl_glamor_needs_buffer_flush() and call
glamor_block_handler() when glamor is used.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1386 >
2024-03-18 15:41:18 +00:00