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);
|
|
|
|
void _shell_wm_maximize (ShellWM *wm,
|
|
|
|
MetaWindowActor *actor,
|
|
|
|
gint x,
|
|
|
|
gint y,
|
|
|
|
gint width,
|
|
|
|
gint height);
|
|
|
|
void _shell_wm_unmaximize (ShellWM *wm,
|
|
|
|
MetaWindowActor *actor,
|
|
|
|
gint x,
|
|
|
|
gint y,
|
|
|
|
gint width,
|
|
|
|
gint height);
|
|
|
|
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,
|
|
|
|
int x,
|
|
|
|
int y);
|
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);
|
|
|
|
|
2010-09-02 00:48:11 +00:00
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
#endif /* __SHELL_WM_PRIVATE_H__ */
|