[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Fwd: .cwmrc - using mouse wheel to cycle windows
From:       Pavan Maddamsetti <pavan.maddamsetti () gmail ! com>
Date:       2017-07-02 21:27:52
Message-ID: CAPWQ=1TZ6_fPKnRZ5WgWopLP2ergrYhY2KZymmL+YH65oWBQSw () mail ! gmail ! com
[Download RAW message or body]

Hi,

I have attempted to move forward on the following issue using xev,
reading the X11 source code, and manual pages. So far I am not able to
understand what is causing the issue.

Can any X hackers help me with this? My mouse bindings only seem to
work when the cursor is not hovering over a window.

Thanks.

---------- Forwarded message ----------
From: Pavan Maddamsetti <pavan.maddamsetti@gmail.com>
Date: Sat, 1 Jul 2017 20:05:24 -0400
Subject: .cwmrc - using mouse wheel to cycle windows
To: misc <misc@openbsd.org>

Hi,

I am having some trouble configuring cwm. What I want is the following
.cwmrc to work:

bind-mouse M-4 window-rcycle
bind-mouse M-5 window-cycle

What this is supposed to do is, holding Alt and scrolling the mouse
wheel will let you cycle between windows. So let's say you have
chromium open. If you hover over the tabs, scrolling switches between
tabs. Now if I have an xterm open, I want to be able to press Alt and
switch windows with the mouse wheel.

Unfortunately, the mouse bindings appear to only work if the cursor is
not currently hovering over a window. So for example, if you bind M-4
and M-5 to quit cwm, these bindings are not in effect if the mouse is
over the browser window. Instead, the mouse wheel scrolls normally.

Even if I leave some screen space available to move the cursor there
and execute actions, it won't work with the cwm functions
window-rcycle and window-cycle. Why not? Because the cursor snaps to
the center of the window it cycled to. So now you can't keep cycling.

Any help with this issue would be appreciated.
_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic