The following shows the diffstat and patchsets between
1031ad8..2f28de5^
----------------------------------------------------------------
commit 2f28de5fa7388135808a336f953efa5b909826f9
Author: Thomas Adam <[email protected]>
Date:   Tue Dec 30 21:01:28 2014 +0000

    FScreen: Don't #include from the core
    
    Rather than include components from the core into the library, instead take 
a
    "copy" of the EWMH structure for storing the values for those settings.  
This
    will be used elsewhere in the future, but for now, it's only the 
EWMHBaseStruts
    command which is making use of this.
---
 libs/FScreen.h | 21 +++++++++++++++------
 1 file changed, 15 insertions(+), 6 deletions(-)

diff --git a/libs/FScreen.h b/libs/FScreen.h
index 4722ccb..0015ca5 100644
--- a/libs/FScreen.h
+++ b/libs/FScreen.h
@@ -2,14 +2,10 @@
 #ifndef MVWMLIB_FSCRREN_H
 #define MVWMLIB_FSCRREN_H
 
-/* For CARD32 */
-#include <X11/Xproto.h>
-
 #include "mvwm/mvwm.h"
 #include "mvwm/execcontext.h"
 #include "mvwm/misc.h"
 #include "mvwm/screen.h"
-#include "mvwm/ewmh_intern.h"
 
 typedef union
 {
@@ -46,8 +42,21 @@ struct monitor {
         */
        DesktopsInfo    *Desktops;
 
-       /* Information about EWMH */
-       ewmhInfo ewmhc;
+       /* Information about EWMH. */
+       struct {
+               unsigned NumberOfDesktops;
+               unsigned MaxDesktops;
+               unsigned CurrentNumberOfDesktops;
+               Bool NeedsToCheckDesk;
+
+               struct {
+                       int left;
+                       int right;
+                       int top;
+                       int bottom;
+               } BaseStrut;
+
+       } ewmhc;
 
        struct {
                int VxMax;

----------------------------------------------------------------

Diffstat:

----------------------------------------------------------------
 libs/FScreen.h | 21 +++++++++++++++------
 1 file changed, 15 insertions(+), 6 deletions(-)

----------------------------------------------------------------

Reply via email to