[gtk+] gdkwindow-wayland: Make function order match listener order
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gdkwindow-wayland: Make function order match listener order
- Date: Thu, 6 Feb 2014 19:32:05 +0000 (UTC)
commit e583e3ebce4484e3d0e74607cfabdd0880f52565
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Feb 6 14:28:51 2014 -0500
gdkwindow-wayland: Make function order match listener order
gdk/wayland/gdkwindow-wayland.c | 32 ++++++++++++++++----------------
1 files changed, 16 insertions(+), 16 deletions(-)
---
diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c
index 41a6998..fa65b2c 100644
--- a/gdk/wayland/gdkwindow-wayland.c
+++ b/gdk/wayland/gdkwindow-wayland.c
@@ -963,22 +963,6 @@ xdg_surface_configure (void *data,
}
static void
-xdg_surface_focused_set (void *data,
- struct xdg_surface *xdg_surface)
-{
- GdkWindow *window = GDK_WINDOW (data);
- gdk_synthesize_window_state (window, 0, GDK_WINDOW_STATE_FOCUSED);
-}
-
-static void
-xdg_surface_focused_unset (void *data,
- struct xdg_surface *xdg_surface)
-{
- GdkWindow *window = GDK_WINDOW (data);
- gdk_synthesize_window_state (window, GDK_WINDOW_STATE_FOCUSED, 0);
-}
-
-static void
xdg_surface_request_set_fullscreen (void *data,
struct xdg_surface *xdg_surface)
{
@@ -1010,6 +994,22 @@ xdg_surface_request_unset_maximized (void *data,
gdk_window_unmaximize (window);
}
+static void
+xdg_surface_focused_set (void *data,
+ struct xdg_surface *xdg_surface)
+{
+ GdkWindow *window = GDK_WINDOW (data);
+ gdk_synthesize_window_state (window, 0, GDK_WINDOW_STATE_FOCUSED);
+}
+
+static void
+xdg_surface_focused_unset (void *data,
+ struct xdg_surface *xdg_surface)
+{
+ GdkWindow *window = GDK_WINDOW (data);
+ gdk_synthesize_window_state (window, GDK_WINDOW_STATE_FOCUSED, 0);
+}
+
static const struct xdg_surface_listener xdg_surface_listener = {
xdg_surface_ping,
xdg_surface_configure,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]