2010-09-02 00:48:11 +00: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 18:55:43 +00:00
|
|
|
void _shell_wm_minimize (ShellWM *wm,
|
|
|
|
MetaWindowActor *actor);
|
2015-02-27 11:13:26 +00:00
|
|
|
void _shell_wm_unminimize (ShellWM *wm,
|
|
|
|
MetaWindowActor *actor);
|
2016-09-26 15:33:35 +00:00
|
|
|
void _shell_wm_size_changed(ShellWM *wm,
|
|
|
|
MetaWindowActor *actor);
|
2015-07-06 04:16:33 +00:00
|
|
|
void _shell_wm_size_change(ShellWM *wm,
|
2010-10-19 18:55:43 +00:00
|
|
|
MetaWindowActor *actor,
|
2015-07-06 04:16:33 +00:00
|
|
|
MetaSizeChange which_change,
|
2015-10-12 19:38:11 +00:00
|
|
|
MetaRectangle *old_frame_rect,
|
|
|
|
MetaRectangle *old_buffer_rect);
|
2010-10-19 18:55:43 +00:00
|
|
|
void _shell_wm_map (ShellWM *wm,
|
|
|
|
MetaWindowActor *actor);
|
|
|
|
void _shell_wm_destroy (ShellWM *wm,
|
|
|
|
MetaWindowActor *actor);
|
2010-09-02 00:48:11 +00:00
|
|
|
|
2010-10-19 18:55:43 +00: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-02 00:48:11 +00:00
|
|
|
|
2013-09-01 22:26:12 +00: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 22:51:10 +00:00
|
|
|
void _shell_wm_show_window_menu (ShellWM *wm,
|
2014-05-22 14:22:11 +00:00
|
|
|
MetaWindow *window,
|
2014-05-24 01:32:44 +00:00
|
|
|
MetaWindowMenuType menu,
|
2014-05-22 14:22:11 +00:00
|
|
|
int x,
|
|
|
|
int y);
|
2014-06-02 19:47:24 +00:00
|
|
|
void _shell_wm_show_window_menu_for_rect (ShellWM *wm,
|
|
|
|
MetaWindow *window,
|
|
|
|
MetaWindowMenuType menu,
|
|
|
|
MetaRectangle *rect);
|
2013-09-01 22:26:12 +00:00
|
|
|
|
2012-08-20 08:38:13 +00:00
|
|
|
gboolean _shell_wm_filter_keybinding (ShellWM *wm,
|
|
|
|
MetaKeyBinding *binding);
|
|
|
|
|
2013-08-17 15:42:39 +00:00
|
|
|
void _shell_wm_confirm_display_change (ShellWM *wm);
|
|
|
|
|
2017-01-19 18:52:18 +00:00
|
|
|
MetaCloseDialog * _shell_wm_create_close_dialog (ShellWM *wm,
|
|
|
|
MetaWindow *window);
|
|
|
|
|
2017-07-14 01:15:17 +00:00
|
|
|
MetaInhibitShortcutsDialog * _shell_wm_create_inhibit_shortcuts_dialog (ShellWM *wm,
|
|
|
|
MetaWindow *window);
|
|
|
|
|
2010-09-02 00:48:11 +00:00
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
#endif /* __SHELL_WM_PRIVATE_H__ */
|