From c2c9503717de326ca469385e3e5c5de9a6076bd1 Mon Sep 17 00:00:00 2001 From: infirit Date: Thu, 28 Nov 2013 19:26:29 +0100 Subject: Remove trailing whitespace --- maximus/maximus-app.c | 4 ++-- maximus/maximus-bind.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'maximus') diff --git a/maximus/maximus-app.c b/maximus/maximus-app.c index 334cca5..a51147d 100644 --- a/maximus/maximus-app.c +++ b/maximus/maximus-app.c @@ -306,7 +306,7 @@ is_excluded (MaximusApp *app, MatewnckWindow *window) /* Make sure the window supports maximising */ actions = matewnck_window_get_actions (window); if (actions & MATEWNCK_WINDOW_ACTION_RESIZE - && actions & MATEWNCK_WINDOW_ACTION_MAXIMIZE_HORIZONTALLY + && actions & MATEWNCK_WINDOW_ACTION_MAXIMIZE_HORIZONTALLY && actions & MATEWNCK_WINDOW_ACTION_MAXIMIZE_VERTICALLY && actions & MATEWNCK_WINDOW_ACTION_MAXIMIZE) ; /* Is good to maximise */ @@ -349,7 +349,7 @@ is_excluded (MaximusApp *app, MatewnckWindow *window) extern gboolean no_maximize; static void -on_window_opened (MatewnckScreen *screen, +on_window_opened (MatewnckScreen *screen, MatewnckWindow *window, MaximusApp *app) { diff --git a/maximus/maximus-bind.c b/maximus/maximus-bind.c index b58cbc1..543834a 100644 --- a/maximus/maximus-bind.c +++ b/maximus/maximus-bind.c @@ -146,7 +146,7 @@ real_fullscreen (MaximusBind *bind) display = gdk_display_get_default (); active = matewnck_screen_get_active_window (priv->screen); - if (!MATEWNCK_IS_WINDOW (active) + if (!MATEWNCK_IS_WINDOW (active) || matewnck_window_get_window_type (active) != MATEWNCK_WINDOW_NORMAL) return FALSE; @@ -220,7 +220,7 @@ real_unfullscreen (MaximusBind *bind) display = gdk_display_get_default (); active = matewnck_screen_get_active_window (priv->screen); - if (!MATEWNCK_IS_WINDOW (active) + if (!MATEWNCK_IS_WINDOW (active) || matewnck_window_get_window_type (active) != MATEWNCK_WINDOW_NORMAL) return FALSE; -- cgit v1.2.1