From 3595da62ca70f494f3341af744da627af414cb18 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 24 Apr 2007 01:16:33 +0000 Subject: [PATCH] never mind on the hint idea, it was fun while it lasted. at least i know it is there now. --- openbox/dock.c | 2 +- openbox/frame.c | 2 +- openbox/grab.c | 3 +-- openbox/menuframe.c | 5 ++--- openbox/mouse.c | 3 +-- openbox/screen.c | 3 +-- 6 files changed, 7 insertions(+), 11 deletions(-) diff --git a/openbox/dock.c b/openbox/dock.c index 8433c260..2e191f1c 100644 --- a/openbox/dock.c +++ b/openbox/dock.c @@ -41,7 +41,7 @@ static void dock_app_grab_button(ObDockApp *app, gboolean grab) 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, diff --git a/openbox/frame.c b/openbox/frame.c index bfbc7a99..eb223f64 100644 --- a/openbox/frame.c +++ b/openbox/frame.c @@ -34,7 +34,7 @@ #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 + \ diff --git a/openbox/grab.c b/openbox/grab.c index a382c1ad..e7bd41d9 100644 --- a/openbox/grab.c +++ b/openbox/grab.c @@ -27,8 +27,7 @@ #include #include -#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 diff --git a/openbox/menuframe.c b/openbox/menuframe.c index c6a333a9..4cb2083d 100644 --- a/openbox/menuframe.c +++ b/openbox/menuframe.c @@ -31,9 +31,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) diff --git a/openbox/mouse.c b/openbox/mouse.c index 55f1bf53..27172d52 100644 --- a/openbox/mouse.c +++ b/openbox/mouse.c @@ -106,8 +106,7 @@ void mouse_grab_for_client(ObClient *client, gboolean grab) 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 */ diff --git a/openbox/screen.c b/openbox/screen.c index e8ef3857..74b8e71d 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -47,8 +47,7 @@ #define ROOT_EVENTMASK (StructureNotifyMask | PropertyChangeMask | \ EnterWindowMask | LeaveWindowMask | \ SubstructureRedirectMask | FocusChangeMask | \ - ButtonPressMask | ButtonReleaseMask | \ - ButtonMotionMask | PointerMotionHintMask) + ButtonPressMask | ButtonReleaseMask | ButtonMotionMask) guint screen_num_desktops; guint screen_num_monitors; -- 2.45.2