diff options
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; |