Initial revision
[wmaker-crm.git] / src / actions.h
blobdbf12e0ee106668bdeb16b9588adb0ee35cfa3fe
1 /*
2 * WindowMaker window manager
3 *
4 * Copyright (c) 1997, 1998 Alfredo K. Kojima
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
19 * USA.
22 #ifndef WMACTIONS_H_
23 #define WMACTIONS_H_
25 #include "window.h"
27 #define MAX_HORIZONTAL 1
28 #define MAX_VERTICAL 2
31 void wSetFocusTo(WScreen *scr, WWindow *wwin);
33 int wMouseMoveWindow(WWindow *wwin, XEvent *ev);
35 void wMouseResizeWindow(WWindow *wwin, XEvent *ev);
37 void wShadeWindow(WWindow *wwin);
38 void wUnshadeWindow(WWindow *wwin);
40 void wIconifyWindow(WWindow *wwin);
41 void wDeiconifyWindow(WWindow *wwin);
43 void wSelectWindows(WScreen *scr, XEvent *ev);
44 void wSelectWindow(WWindow *wwin);
45 void wUnselectWindows();
47 void wMaximizeWindow(WWindow *wwin, int directions);
48 void wUnmaximizeWindow(WWindow *wwin);
50 void wHideOtherApplications(WWindow *wwin);
51 void wShowAllWindows(WScreen *scr);
53 void wHideApplication(WApplication *wapp);
54 void wUnhideApplication(WApplication *wapp, Bool miniwindows,
55 Bool bringToCurrentWS);
57 void wRefreshDesktop(WScreen *scr);
59 void wArrangeIcons(WScreen *scr, Bool arrangeAll);
63 #endif