]> Dogcows Code - chaz/openbox/blobdiff - openbox/openbox.c
add support for interactive/keyboard move/resize
[chaz/openbox] / openbox / openbox.c
index 980aceb4c863a44f86bb5a8db9b70b97f225ede9..3c2dfc284e5a7ccdebbf4fe27c664cccf5842c82 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, x, y;
+    guint u;
+
+    return !!XQueryPointer(ob_display, ob_root, &w, &w, x, y, &i, &i, &u);
+}
This page took 0.021437 seconds and 4 git commands to generate.