diff options
author | infirit <[email protected]> | 2014-10-24 13:38:54 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2014-10-24 15:40:43 +0200 |
commit | 470fed7e80a741e43e53f2e2186f9470db132983 (patch) | |
tree | 3c364aae98f80d74e073cda5da26e5fa444bec57 /src/include | |
parent | 13741f524e5f8b780a96872f534237186fa78741 (diff) | |
download | marco-470fed7e80a741e43e53f2e2186f9470db132983.tar.bz2 marco-470fed7e80a741e43e53f2e2186f9470db132983.tar.xz |
don't show shadow for maximized windows
based on metacity commit: 72d1c6a6b9a85391444bb5ff8c5de1e3aabd3fd9
From: Alberts Muktupāvels <[email protected]>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/compositor.h | 10 | ||||
-rw-r--r-- | src/include/window.h | 1 |
2 files changed, 5 insertions, 6 deletions
diff --git a/src/include/compositor.h b/src/include/compositor.h index df59e204..5c238890 100644 --- a/src/include/compositor.h +++ b/src/include/compositor.h @@ -67,10 +67,8 @@ void meta_compositor_end_move (MetaCompositor *compositor, MetaWindow *window); void meta_compositor_free_window (MetaCompositor *compositor, MetaWindow *window); - +void meta_compositor_maximize_window (MetaCompositor *compositor, + MetaWindow *window); +void meta_compositor_unmaximize_window (MetaCompositor *compositor, + MetaWindow *window); #endif - - - - - diff --git a/src/include/window.h b/src/include/window.h index 32c7ebc9..d83ad45f 100644 --- a/src/include/window.h +++ b/src/include/window.h @@ -35,5 +35,6 @@ MetaRectangle *meta_window_get_rect (MetaWindow *window); MetaScreen *meta_window_get_screen (MetaWindow *window); MetaDisplay *meta_window_get_display (MetaWindow *window); Window meta_window_get_xwindow (MetaWindow *window); +gboolean meta_window_is_maximized (MetaWindow *window); #endif |