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