make alt-right click resizing work on the window handles
This commit is contained in:
parent
185a1a6a40
commit
15ca6904fc
1 changed files with 6 additions and 3 deletions
|
@ -3815,11 +3815,14 @@ void BlackboxWindow::motionNotifyEvent(const XMotionEvent *me) {
|
|||
frame.handle == me->window || frame.window == me->window)) {
|
||||
beginMove(me->x_root, me->y_root);
|
||||
} else if ((functions & Func_Resize) &&
|
||||
((me->state & Button1Mask) && (me->window == frame.right_grip ||
|
||||
((me->state & Button1Mask) &&
|
||||
(me->window == frame.right_grip ||
|
||||
me->window == frame.left_grip)) ||
|
||||
((me->state & Button3Mask) && (me->state & mod_mask) &&
|
||||
(frame.title == me->window || frame.label == me->window ||
|
||||
frame.handle == me->window || frame.window == me->window))) {
|
||||
frame.handle == me->window || frame.window == me->window ||
|
||||
frame.right_grip == me->window ||
|
||||
frame.left_grip == me->window))) {
|
||||
unsigned int zones = screen->getResizeZones();
|
||||
Corner corner;
|
||||
|
||||
|
|
Loading…
Reference in a new issue