XLibre Xserver
Go to file
Hans de Goede 148f428dfc xwayland: Fix setting of _XWAYLAND_RANDR_EMU_MONITOR_RECTS prop on new windows
For window-manager managed windows, xwl_realize_window is only called for
the window-manager's decoration window and not for the actual client window
on which we should set the _XWAYLAND_RANDR_EMU_MONITOR_RECTS prop.

Usualy this is not a problem since we walk all client windows to update
the property when the resolution is changed through a randr call.

But for apps which first do the randr change and only then create their
window this does not work, and our xwl_output_set_window_randr_emu_props
call in xwl_realize_window is a no-op as that is only called for the wm
decoration window and not for the actual client's window.

This commit fixes this by making ensure_surface_for_window() call
xwl_output_set_window_randr_emu_props on the first and only child of
window-manager managed windows.

Note this also removes the non-functional xwl_output_set_window_randr_emu_props
call from xwl_realize_window, which was intended to do this, but does not
work.

This fixes apps using the ogre3d library always running at the
monitors native resolution.

Acked-by: Olivier Fourdan <ofourdan@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2020-02-23 18:05:15 +01:00
.gitlab-ci
Xext
Xi
composite
config
damageext
dbe
dix
doc
dri3
exa Restrict 1x1 pixmap filling optimization to GXcopy 2020-01-27 17:43:33 +00:00
fb
glamor glamor_egl: Reject OpenGL < 2.1 early on 2020-01-08 15:20:10 +00:00
glx Revert "dri2: Don't make reference to noClientException" 2020-01-28 13:26:41 -05:00
hw xwayland: Fix setting of _XWAYLAND_RANDR_EMU_MONITOR_RECTS prop on new windows 2020-02-23 18:05:15 +01:00
include meson: Add support for libunwind 2020-02-12 16:56:13 -05:00
m4
man
mi
miext
os os: Ignore dying client in ResetCurrentRequest 2020-01-29 21:39:53 +00:00
present present: Rename window_msc variable in present function 2020-02-18 16:31:02 +01:00
pseudoramiX
randr randr: auto-bind of GPU is a config change 2020-02-10 16:07:41 +01:00
record
render
test tests/misc: Drop redundant screenInfo declaration 2020-01-28 20:35:06 +00:00
xfixes
xkb
.appveyor.yml
.dir-locals.el
.gitignore
.gitlab-ci.yml gitlab-ci: Add meson build job with glamor disabled 2020-02-11 15:59:18 +01:00
.travis.yml
COPYING
Makefile.am
README.md
autogen.sh
configure.ac configure: Define GLAMOR_HAS_EGL_QUERY_DRIVER when available 2020-01-14 12:50:53 -08:00
devbook.am
docbook.am
manpages.am
meson.build meson: Add support for libunwind 2020-02-12 16:56:13 -05:00
meson_options.txt meson: Add support for libunwind 2020-02-12 16:56:13 -05:00
xorg-server.m4
xorg-server.pc.in
xserver.ent.in

X Server

The X server accepts requests from client applications to create windows, which are (normally rectangular) "virtual screens" that the client program can draw into.

Windows are then composed on the actual screen by the X server (or by a separate composite manager) as directed by the window manager, which usually communicates with the user via graphical controls such as buttons and draggable titlebars and borders.

For a comprehensive overview of X Server and X Window System, consult the following article: https://en.wikipedia.org/wiki/X_server

All questions regarding this software should be directed at the Xorg mailing list:

https://lists.freedesktop.org/mailman/listinfo/xorg

The master development code repository can be found at:

https://gitlab.freedesktop.org/xorg/xserver

For patch submission instructions, see:

https://www.x.org/wiki/Development/Documentation/SubmittingPatches

As with other projects hosted on freedesktop.org, X.Org follows its Code of Conduct, based on the Contributor Covenant. Please conduct yourself in a respectful and civilized manner when using the above mailing lists, bug trackers, etc:

https://www.freedesktop.org/wiki/CodeOfConduct