[Xfce4-commits] [xfce/xfce4-settings] 05/05: display: Sync display when applying config
noreply at xfce.org
noreply at xfce.org
Fri Jul 26 00:15:55 CEST 2019
This is an automated email from the git hooks/post-receive script.
o c h o s i p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/xfce4-settings.
commit 960504d933378ad8b6f165c0063e7984a5ee0f7b
Author: Olivier Fourdan <fourdan at xfce.org>
Date: Sat Jul 20 17:30:16 2019 +0200
display: Sync display when applying config
Previously the display plugin would flush the display when applying the
configuration.
Use a sync instead to make sure the request is actually sent and
processed by the XServer.
Signed-off-by: Olivier Fourdan <fourdan at xfce.org>
---
xfsettingsd/displays.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xfsettingsd/displays.c b/xfsettingsd/displays.c
index 4f138fe..f82d01a 100644
--- a/xfsettingsd/displays.c
+++ b/xfsettingsd/displays.c
@@ -1428,8 +1428,8 @@ xfce_displays_helper_apply_all (XfceDisplaysHelper *helper)
#endif
/* release the grab, changes are done */
+ gdk_display_sync (helper->display);
gdk_x11_display_ungrab (helper->display);
- gdk_display_flush (helper->display);
if (gdk_x11_display_error_trap_pop (helper->display) != 0)
{
g_critical ("Failed to apply display settings");
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list