Remove dup code in wAppIconCreateForDock
[wmaker-crm.git] / src / stacking.h
blobde333e1d382b022c7af404780fe92dfbc05ae317
1 /*
2 * Window Maker window manager
4 * Copyright (c) 1997-2003 Alfredo K. Kojima
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 along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 #ifndef WMSTACKING_H_
22 #define WMSTACKING_H_
24 void wRaiseFrame(WCoreWindow *frame);
26 void wLowerFrame(WCoreWindow *frame);
28 void wRaiseLowerFrame(WCoreWindow *frame);
30 void AddToStackList(WCoreWindow *frame);
32 void MoveInStackListAbove(WCoreWindow *next, WCoreWindow *frame);
34 void MoveInStackListUnder(WCoreWindow *prev, WCoreWindow *frame);
36 void RemoveFromStackList(WCoreWindow *frame);
38 void ChangeStackingLevel(WCoreWindow *frame, int new_level);
40 void RemakeStackList(WScreen *scr);
42 void CommitStacking(WScreen *scr);
44 void CommitStackingForFrame(WCoreWindow *frame);
46 void CommitStackingForWindow(WCoreWindow * frame);
48 #endif