[mutter/wip/carlosg/cleanups: 3/7] core: Do not force cursor renderer update here
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/carlosg/cleanups: 3/7] core: Do not force cursor renderer update here
- Date: Wed, 23 Sep 2020 13:58:35 +0000 (UTC)
commit 31f744c95c33791322c2d0ea1f9adac13e0ff1cf
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri Jul 10 12:04:35 2020 +0200
core: Do not force cursor renderer update here
This is already taken care of in meta_backend_monitors_changed(), called
from the same code paths that emit ::monitors-changed-internal. It is
better to leave this up to backend internals.
src/core/display.c | 7 -------
1 file changed, 7 deletions(-)
---
diff --git a/src/core/display.c b/src/core/display.c
index d0bf2ab142..630deb20d8 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -3144,9 +3144,6 @@ static void
on_monitors_changed_internal (MetaMonitorManager *monitor_manager,
MetaDisplay *display)
{
- MetaBackend *backend;
- MetaCursorRenderer *cursor_renderer;
-
meta_workspace_manager_reload_work_areas (display->workspace_manager);
/* Fix up monitor for all windows on this display */
@@ -3159,10 +3156,6 @@ on_monitors_changed_internal (MetaMonitorManager *monitor_manager,
meta_display_resize_func, 0);
meta_display_queue_check_fullscreen (display);
-
- backend = meta_get_backend ();
- cursor_renderer = meta_backend_get_cursor_renderer (backend);
- meta_cursor_renderer_force_update (cursor_renderer);
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]