grab_button_full(config_dock_app_move_button,
config_dock_app_move_modifiers, app->icon_win,
ButtonPressMask | ButtonReleaseMask |
- ButtonMotionMask | PointerMotionHintMask,
+ ButtonMotionMask,
GrabModeAsync, OB_CURSOR_MOVE);
} else {
ungrab_button(config_dock_app_move_button,
#define FRAME_EVENTMASK (EnterWindowMask | LeaveWindowMask | \
ButtonPressMask | ButtonReleaseMask)
#define ELEMENT_EVENTMASK (ButtonPressMask | ButtonReleaseMask | \
- ButtonMotionMask | PointerMotionHintMask | \
+ ButtonMotionMask | \
EnterWindowMask | LeaveWindowMask)
#define FRAME_HANDLE_Y(f) (f->innersize.top + f->client->area.height + \
#include <glib.h>
#include <X11/Xlib.h>
-#define GRAB_PTR_MASK (ButtonPressMask | ButtonReleaseMask | \
- PointerMotionMask | PointerMotionHintMask)
+#define GRAB_PTR_MASK (ButtonPressMask | ButtonReleaseMask | PointerMotionMask)
#define GRAB_KEY_MASK (KeyPressMask | KeyReleaseMask)
#define MASK_LIST_SIZE 8
#define SEPARATOR_HEIGHT 3
#define MAX_MENU_WIDTH 400
-#define FRAME_EVENTMASK (ButtonPressMask |ButtonMotionMask | \
- PointerMotionHintMask | \
- EnterWindowMask | LeaveWindowMask)
+#define FRAME_EVENTMASK (ButtonPressMask |ButtonMotionMask | EnterWindowMask |\
+ LeaveWindowMask)
#define ENTRY_EVENTMASK (EnterWindowMask | LeaveWindowMask | \
ButtonPressMask | ButtonReleaseMask)
if (FRAME_CONTEXT(i, client)) {
win = client->frame->window;
mode = GrabModeAsync;
- mask = ButtonPressMask | ButtonMotionMask | ButtonReleaseMask |
- PointerMotionHintMask;
+ mask = ButtonPressMask | ButtonMotionMask | ButtonReleaseMask;
} else if (CLIENT_CONTEXT(i, client)) {
win = client->frame->plate;
mode = GrabModeSync; /* this is handled in event */
#define ROOT_EVENTMASK (StructureNotifyMask | PropertyChangeMask | \
EnterWindowMask | LeaveWindowMask | \
SubstructureRedirectMask | FocusChangeMask | \
- ButtonPressMask | ButtonReleaseMask | \
- ButtonMotionMask | PointerMotionHintMask)
+ ButtonPressMask | ButtonReleaseMask | ButtonMotionMask)
guint screen_num_desktops;
guint screen_num_monitors;