diff options
author | infirit <[email protected]> | 2013-11-28 19:26:29 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2013-11-28 19:36:39 +0100 |
commit | dada16021aa2f4332496592b196839dea7277dfa (patch) | |
tree | b7254a575c021d3a2d295aec3983b2db2cc4e0cf /maximus | |
parent | c861b869257e89c1d4872476f3311dd52094a92d (diff) | |
download | mate-netbook-dada16021aa2f4332496592b196839dea7277dfa.tar.bz2 mate-netbook-dada16021aa2f4332496592b196839dea7277dfa.tar.xz |
Remove trailing whitespace
Diffstat (limited to 'maximus')
-rw-r--r-- | maximus/maximus-app.c | 4 | ||||
-rw-r--r-- | maximus/maximus-bind.c | 4 |
2 files changed, 4 insertions, 4 deletions
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; |