2010-09-01 20:48:11 -04:00
|
|
|
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
|
|
|
#ifndef __SHELL_WM_PRIVATE_H__
|
|
|
|
#define __SHELL_WM_PRIVATE_H__
|
|
|
|
|
|
|
|
#include "shell-wm.h"
|
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
|
|
|
/* These forward along the different effects from GnomeShellPlugin */
|
|
|
|
|
2010-10-19 14:55:43 -04:00
|
|
|
void _shell_wm_minimize (ShellWM *wm,
|
|
|
|
MetaWindowActor *actor);
|
2015-02-27 06:13:26 -05:00
|
|
|
void _shell_wm_unminimize (ShellWM *wm,
|
|
|
|
MetaWindowActor *actor);
|
2016-09-26 11:33:35 -04:00
|
|
|
void _shell_wm_size_changed(ShellWM *wm,
|
|
|
|
MetaWindowActor *actor);
|
2015-07-06 00:16:33 -04:00
|
|
|
void _shell_wm_size_change(ShellWM *wm,
|
2010-10-19 14:55:43 -04:00
|
|
|
MetaWindowActor *actor,
|
2015-07-06 00:16:33 -04:00
|
|
|
MetaSizeChange which_change,
|
2015-10-12 15:38:11 -04:00
|
|
|
MetaRectangle *old_frame_rect,
|
|
|
|
MetaRectangle *old_buffer_rect);
|
2010-10-19 14:55:43 -04:00
|
|
|
void _shell_wm_map (ShellWM *wm,
|
|
|
|
MetaWindowActor *actor);
|
|
|
|
void _shell_wm_destroy (ShellWM *wm,
|
|
|
|
MetaWindowActor *actor);
|
2010-09-01 20:48:11 -04:00
|
|
|
|
2010-10-19 14:55:43 -04:00
|
|
|
void _shell_wm_switch_workspace (ShellWM *wm,
|
|
|
|
gint from,
|
|
|
|
gint to,
|
|
|
|
MetaMotionDirection direction);
|
|
|
|
void _shell_wm_kill_window_effects (ShellWM *wm,
|
|
|
|
MetaWindowActor *actor);
|
|
|
|
void _shell_wm_kill_switch_workspace (ShellWM *wm);
|
2010-09-01 20:48:11 -04:00
|
|
|
|
2013-09-01 18:26:12 -04:00
|
|
|
void _shell_wm_show_tile_preview (ShellWM *wm,
|
|
|
|
MetaWindow *window,
|
|
|
|
MetaRectangle *tile_rect,
|
|
|
|
int tile_monitor);
|
|
|
|
void _shell_wm_hide_tile_preview (ShellWM *wm);
|
2014-03-13 18:51:10 -04:00
|
|
|
void _shell_wm_show_window_menu (ShellWM *wm,
|
2014-05-22 10:22:11 -04:00
|
|
|
MetaWindow *window,
|
2014-05-23 21:32:44 -04:00
|
|
|
MetaWindowMenuType menu,
|
2014-05-22 10:22:11 -04:00
|
|
|
int x,
|
|
|
|
int y);
|
2014-06-02 15:47:24 -04:00
|
|
|
void _shell_wm_show_window_menu_for_rect (ShellWM *wm,
|
|
|
|
MetaWindow *window,
|
|
|
|
MetaWindowMenuType menu,
|
|
|
|
MetaRectangle *rect);
|
2013-09-01 18:26:12 -04:00
|
|
|
|
2012-08-20 04:38:13 -04:00
|
|
|
gboolean _shell_wm_filter_keybinding (ShellWM *wm,
|
|
|
|
MetaKeyBinding *binding);
|
|
|
|
|
2013-08-17 11:42:39 -04:00
|
|
|
void _shell_wm_confirm_display_change (ShellWM *wm);
|
|
|
|
|
2017-01-19 13:52:18 -05:00
|
|
|
MetaCloseDialog * _shell_wm_create_close_dialog (ShellWM *wm,
|
|
|
|
MetaWindow *window);
|
|
|
|
|
2017-07-13 21:15:17 -04:00
|
|
|
MetaInhibitShortcutsDialog * _shell_wm_create_inhibit_shortcuts_dialog (ShellWM *wm,
|
|
|
|
MetaWindow *window);
|
|
|
|
|
2010-09-01 20:48:11 -04:00
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
#endif /* __SHELL_WM_PRIVATE_H__ */
|