summaryrefslogtreecommitdiff
path: root/wm/icewm/patches/patch-ae
blob: 6d04ffdcdb8096f982921a02554c9918c21b7619 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-ae,v 1.5 2003/06/03 16:04:46 jmmv Exp $

--- src/wmframe.h.orig	2003-03-08 20:37:52.000000000 +0100
+++ src/wmframe.h
@@ -260,6 +260,7 @@ public:
 
     YMenu *windowMenu();
 
+    long getState() const { return fWinState; }
     bool isFullscreen() const { return (getState() & WinStateFullscreen) ? true : false; }
     /// FIX: precalculate these on state changes!!!
     int borderX() const {
@@ -344,7 +345,6 @@ public:
     void setTrayOption(long option);
 #endif
     void setDoNotCover(bool flag);
-    long getState() const { return fWinState; }
     void setState(long mask, long state);
 
     bool isMaximized() const { return (getState() &