[gtk+/saved/mir: 43/47] Don't create surfaces for input only windows
- From: Ryan Lortie <desrt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/saved/mir: 43/47] Don't create surfaces for input only windows
- Date: Wed, 22 Oct 2014 16:23:29 +0000 (UTC)
commit cf6058f8cde3b67711604a8c9cb751417f1841dc
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]