… | |
… | |
26 | * Copyright (c) 1998 Alfredo K. Kojima <kojima@windowmaker.org> |
26 | * Copyright (c) 1998 Alfredo K. Kojima <kojima@windowmaker.org> |
27 | * Copyright (c) 2001 Marius Gedminas |
27 | * Copyright (c) 2001 Marius Gedminas |
28 | * - Ctrl/Mod4+Tab works like Meta+Tab (options) |
28 | * - Ctrl/Mod4+Tab works like Meta+Tab (options) |
29 | * Copyright (c) 2003 Rob McMullen <robm@flipturn.org> |
29 | * Copyright (c) 2003 Rob McMullen <robm@flipturn.org> |
30 | * Copyright (c) 2003-2014 Marc Lehmann <schmorp@schmorp.de> |
30 | * Copyright (c) 2003-2014 Marc Lehmann <schmorp@schmorp.de> |
31 | * Copyright (c) 2007 Emanuele Giaquinta <e.giaquinta@glauco.it> |
31 | * Copyright (c) 2007,2015 Emanuele Giaquinta <e.giaquinta@glauco.it> |
32 | * |
32 | * |
33 | * This program is free software; you can redistribute it and/or modify |
33 | * This program is free software; you can redistribute it and/or modify |
34 | * it under the terms of the GNU General Public License as published by |
34 | * it under the terms of the GNU General Public License as published by |
35 | * the Free Software Foundation; either version 3 of the License, or |
35 | * the Free Software Foundation; either version 3 of the License, or |
36 | * (at your option) any later version. |
36 | * (at your option) any later version. |
… | |
… | |
1612 | case MotionNotify: |
1612 | case MotionNotify: |
1613 | #ifdef POINTER_BLANK |
1613 | #ifdef POINTER_BLANK |
1614 | if (hidden_pointer) |
1614 | if (hidden_pointer) |
1615 | pointer_unblank (); |
1615 | pointer_unblank (); |
1616 | #endif |
1616 | #endif |
|
|
1617 | if (!bypass_keystate |
1617 | if ((priv_modes & PrivMode_MouseBtnEvent && ev.xbutton.state & (Button1Mask|Button2Mask|Button3Mask)) |
1618 | && ((priv_modes & PrivMode_MouseBtnEvent && ev.xbutton.state & (Button1Mask|Button2Mask|Button3Mask)) |
1618 | || priv_modes & PrivMode_MouseAnyEvent) |
1619 | || priv_modes & PrivMode_MouseAnyEvent)) |
1619 | mouse_report (ev.xbutton); |
1620 | mouse_report (ev.xbutton); |
1620 | if ((priv_modes & PrivMode_mouse_report) && !bypass_keystate) |
1621 | if ((priv_modes & PrivMode_mouse_report) && !bypass_keystate) |
1621 | break; |
1622 | break; |
1622 | |
1623 | |
1623 | if (ev.xany.window == vt) |
1624 | if (ev.xany.window == vt) |
… | |
… | |
3337 | rgba c; |
3338 | rgba c; |
3338 | pix_colors_focused[color].get (c); |
3339 | pix_colors_focused[color].get (c); |
3339 | |
3340 | |
3340 | #if XFT |
3341 | #if XFT |
3341 | if (c.a != rgba::MAX_CC) |
3342 | if (c.a != rgba::MAX_CC) |
3342 | tt_printf ("\033]%d;rgba:%04x/%04x/%04x/%04x%c", report, c.a, c.r, c.g, c.b, resp); |
3343 | tt_printf ("\033]%d;rgba:%04x/%04x/%04x/%04x%c", report, c.r, c.g, c.b, c.a, resp); |
3343 | else |
3344 | else |
3344 | #endif |
3345 | #endif |
3345 | tt_printf ("\033]%d;rgb:%04x/%04x/%04x%c", report, c.r, c.g, c.b, resp); |
3346 | tt_printf ("\033]%d;rgb:%04x/%04x/%04x%c", report, c.r, c.g, c.b, resp); |
3346 | } |
3347 | } |
3347 | else |
3348 | else |