]> Dogcows Code - chaz/openbox/blobdiff - openbox/openbox.c
do not shadow parameter pls
[chaz/openbox] / openbox / openbox.c
index 980aceb4c863a44f86bb5a8db9b70b97f225ede9..eeb7e0fb26a7a7111b1b02c3a84da0de78694f43 100644 (file)
@@ -7,6 +7,7 @@
 #include "prop.h"
 #include "screen.h"
 #include "focus.h"
+#include "moveresize.h"
 #include "frame.h"
 #include "extensions.h"
 #include "parse.h"
@@ -165,6 +166,7 @@ int main(int argc, char **argv)
        font_startup();
         theme_startup();
        event_startup();
+        moveresize_startup();
         grab_startup();
         plugin_startup();
         /* load the plugins specified in the pluginrc */
@@ -322,3 +324,12 @@ void parse_args(int argc, char **argv)
         }
     }
 }
+
+gboolean ob_pointer_pos(int *x, int *y)
+{
+    Window w;
+    int i;
+    guint u;
+
+    return !!XQueryPointer(ob_display, ob_root, &w, &w, x, y, &i, &i, &u);
+}
This page took 0.021959 seconds and 4 git commands to generate.