summaryrefslogtreecommitdiff
path: root/extra/icewm/ignore_workarea_hints.patch
blob: 99ffa4a28c9455be1cbfc4b8deb6bbc47393d93b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
Index: icewm-1.3.7/src/wmapp.cc
===================================================================
--- icewm-1.3.7.orig/src/wmapp.cc	2010-10-31 15:09:36.000000000 +0100
+++ icewm-1.3.7/src/wmapp.cc	2012-01-15 17:01:47.284927292 +0100
@@ -187,7 +187,6 @@
         _XA_NET_ACTIVE_WINDOW,
         _XA_NET_CLOSE_WINDOW,
         _XA_NET_WM_STRUT,
-        _XA_NET_WORKAREA,
         _XA_NET_WM_STATE,
         _XA_NET_WM_STATE_MAXIMIZED_VERT,
         _XA_NET_WM_STATE_MAXIMIZED_HORZ,
Index: icewm-1.3.7/src/wmmgr.cc
===================================================================
--- icewm-1.3.7.orig/src/wmmgr.cc	2010-10-31 15:09:36.000000000 +0100
+++ icewm-1.3.7/src/wmmgr.cc	2012-01-15 16:59:18.000000000 +0100
@@ -2114,11 +2114,6 @@
         area[ws * 4 + 3] = fWorkArea[ws][0].fMaxY - fWorkArea[ws][0].fMinY;
     }
 
-    XChangeProperty(xapp->display(), handle(),
-                    _XA_NET_WORKAREA,
-                    XA_CARDINAL,
-                    32, PropModeReplace,
-                    (unsigned char *)area, nw * 4);
     delete [] area;
 #endif
 #ifdef GNOME1_HINTS
Index: icewm-1.3.7/src/wmmgr.h
===================================================================
--- icewm-1.3.7.orig/src/wmmgr.h	2010-10-31 15:09:36.000000000 +0100
+++ icewm-1.3.7/src/wmmgr.h	2012-01-15 16:59:18.000000000 +0100
@@ -297,7 +297,6 @@
 extern Atom _XA_NET_CURRENT_DESKTOP;             // OK
 ///extern Atom _XA_NET_DESKTOP_NAMES;            // N/A
 extern Atom _XA_NET_ACTIVE_WINDOW;               // OK
-extern Atom _XA_NET_WORKAREA;                    // OK
 extern Atom _XA_NET_SUPPORTING_WM_CHECK;         // OK
 ///extern Atom _XA_NET_SUPPORTING_WM_CHECK;      // N/A
 extern Atom _XA_NET_CLOSE_WINDOW;                // OK
Index: icewm-1.3.7/src/yxapp.cc
===================================================================
--- icewm-1.3.7.orig/src/yxapp.cc	2010-10-31 15:09:36.000000000 +0100
+++ icewm-1.3.7/src/yxapp.cc	2012-01-15 17:03:59.556423213 +0100
@@ -67,7 +67,7 @@
 Atom _XA_NET_CLIENT_LIST_STACKING;
 Atom _XA_NET_NUMBER_OF_DESKTOPS;
 Atom _XA_NET_CURRENT_DESKTOP;
-Atom _XA_NET_WORKAREA;
+//Atom _XA_NET_WORKAREA;
 Atom _XA_NET_WM_MOVERESIZE;
 
 Atom _XA_NET_WM_STRUT;
@@ -286,7 +286,7 @@
         { &_XA_NET_CLIENT_LIST_STACKING, "_NET_CLIENT_LIST_STACKING" },
         { &_XA_NET_NUMBER_OF_DESKTOPS, "_NET_NUMBER_OF_DESKTOPS" },
         { &_XA_NET_CURRENT_DESKTOP, "_NET_CURRENT_DESKTOP" },
-        { &_XA_NET_WORKAREA, "_NET_WORKAREA" },
+//        { &_XA_NET_WORKAREA, "_NET_WORKAREA" },
         { &_XA_NET_WM_MOVERESIZE, "_NET_WM_MOVERESIZE" },
 
         { &_XA_NET_WM_STRUT, "_NET_WM_STRUT" },