[gtk/gtk-3-22: 2/3] wayland: Minor whitespace cleanups
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-22: 2/3] wayland: Minor whitespace cleanups
- Date: Tue, 20 Mar 2018 16:29:17 +0000 (UTC)
commit 0454a1cacec8850fefa0e7b55fe6f87d44eefb06
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Mon Dec 18 20:10:47 2017 +0800
wayland: Minor whitespace cleanups
Broke up a long line, added an empty one, and indented another one.
https://bugzilla.gnome.org/show_bug.cgi?id=791939
gdk/wayland/gdkwindow-wayland.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c
index 0c010c8f7a..3746d13206 100644
--- a/gdk/wayland/gdkwindow-wayland.c
+++ b/gdk/wayland/gdkwindow-wayland.c
@@ -1499,7 +1499,9 @@ gdk_wayland_window_handle_configure (GdkWindow *window,
impl->pending.state = 0;
fixed_size =
- new_state & (GDK_WINDOW_STATE_MAXIMIZED | GDK_WINDOW_STATE_FULLSCREEN | GDK_WINDOW_STATE_TILED);
+ new_state & (GDK_WINDOW_STATE_MAXIMIZED |
+ GDK_WINDOW_STATE_FULLSCREEN |
+ GDK_WINDOW_STATE_TILED);
saved_size = (width == 0 && height == 0);
/* According to xdg_shell, an xdg_surface.configure with size 0x0
@@ -1778,10 +1780,13 @@ gdk_wayland_window_create_xdg_toplevel (GdkWindow *window)
const gchar *app_id;
GdkScreen *screen = gdk_window_get_screen (window);
struct wl_output *fullscreen_output = NULL;
+
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
if (impl->initial_fullscreen_monitor >= 0 &&
impl->initial_fullscreen_monitor < gdk_screen_get_n_monitors (screen))
- fullscreen_output = _gdk_wayland_screen_get_wl_output (screen, impl->initial_fullscreen_monitor);
+ fullscreen_output =
+ _gdk_wayland_screen_get_wl_output (screen,
+ impl->initial_fullscreen_monitor);
G_GNUC_END_IGNORE_DEPRECATIONS
gdk_window_freeze_updates (window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]