diff options
Diffstat (limited to 'openbox/openbox.c')
| -rw-r--r-- | openbox/openbox.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/openbox/openbox.c b/openbox/openbox.c index 980aceb4..3c2dfc28 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -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); +} |
