diff options
Diffstat (limited to 'maximus/maximus-app.c')
-rw-r--r-- | maximus/maximus-app.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/maximus/maximus-app.c b/maximus/maximus-app.c index 76aed8e..f6ee627 100644 --- a/maximus/maximus-app.c +++ b/maximus/maximus-app.c @@ -481,7 +481,11 @@ on_app_undecorate_changed (GSettings *settings, wnck_window_unmaximize (window); wnck_window_maximize (window); gdk_flush (); +#if GTK_CHECK_VERSION (3, 0, 0) + gdk_error_trap_pop_ignored (); +#else gdk_error_trap_pop (); +#endif sleep (1); } |