From 15a7f8080788c54cf1ad3df0d969fb61b9dc315d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= <mail@3v1n0.net>
Date: Thu, 25 Jul 2019 02:02:44 +0200
Subject: [PATCH 26/28] compositor: Fix indentation on show window
https://gitlab.gnome.org/GNOME/mutter/merge_requests/682
---
src/compositor/compositor.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/compositor/compositor.c b/src/compositor/compositor.c
index d02926171..65f5ab1f4 100644
--- a/src/compositor/compositor.c
+++ b/src/compositor/compositor.c
@@ -890,61 +890,61 @@ meta_compositor_process_event (MetaCompositor *compositor,
meta_sync_ring_handle_event (event);
/* Clutter needs to know about MapNotify events otherwise it will
think the stage is invisible */
if (!meta_is_wayland_compositor () && event->type == MapNotify)
clutter_x11_handle_event (event);
/* The above handling is basically just "observing" the events, so we return
* FALSE to indicate that the event should not be filtered out; if we have
* GTK+ windows in the same process, GTK+ needs the ConfigureNotify event, for example.
*/
return FALSE;
}
gboolean
meta_compositor_filter_keybinding (MetaCompositor *compositor,
MetaKeyBinding *binding)
{
return meta_plugin_manager_filter_keybinding (compositor->plugin_mgr, binding);
}
void
meta_compositor_show_window (MetaCompositor *compositor,
MetaWindow *window,
MetaCompEffect effect)
{
MetaWindowActor *window_actor = meta_window_actor_from_window (window);
g_return_if_fail (window_actor);
- meta_window_actor_show (window_actor, effect);
+ meta_window_actor_show (window_actor, effect);
}
void
meta_compositor_hide_window (MetaCompositor *compositor,
MetaWindow *window,
MetaCompEffect effect)
{
MetaWindowActor *window_actor = meta_window_actor_from_window (window);
if (!window_actor)
return;
meta_window_actor_hide (window_actor, effect);
}
void
meta_compositor_size_change_window (MetaCompositor *compositor,
MetaWindow *window,
MetaSizeChange which_change,
MetaRectangle *old_frame_rect,
MetaRectangle *old_buffer_rect)
{
MetaWindowActor *window_actor = meta_window_actor_from_window (window);
g_return_if_fail (window_actor);
meta_window_actor_size_change (window_actor, which_change, old_frame_rect, old_buffer_rect);
}
void
--
2.26.2