[gtk+/wip/mir3.12: 43/46] Don't create surfaces for input only windows
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/mir3.12: 43/46] Don't create surfaces for input only windows
- Date: Tue, 17 Jun 2014 02:15:04 +0000 (UTC)
commit 7ce746b9a56232f2361439e3b4cd283f08042ca9
Author: Robert Ancell <robert ancell canonical com>
Date: Wed Jun 11 17:06:42 2014 +1200
Don't create surfaces for input only windows
gdk/mir/gdkmirdisplay.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gdk/mir/gdkmirdisplay.c b/gdk/mir/gdkmirdisplay.c
index 7a56587..4a90d73 100644
--- a/gdk/mir/gdkmirdisplay.c
+++ b/gdk/mir/gdkmirdisplay.c
@@ -409,6 +409,8 @@ gdk_mir_display_create_window_impl (GdkDisplay *display,
g_printerr (" location=(%d, %d)", window->x, window->y);
g_printerr (" size=(%d, %d)", window->width, window->height);
g_printerr ("\n");
+ if (attributes->wclass != GDK_INPUT_OUTPUT)
+ return;
window->impl = _gdk_mir_window_impl_new ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]