diff options
author | Julien Viard de Galbert <julien@vdg.blogsite.org> | 2012-11-06 20:04:57 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2012-11-07 08:41:49 (GMT) |
commit | 5c5ad62846f9041684458c0ed38c4b135b7f294d (patch) | |
tree | 7543fbc124f1f7a175ef000f248129f85f06d9e5 /src/FbWinFrame.hh | |
parent | e8f2e964c6a88e357bbc09b66cd3490cf9eed5ef (diff) | |
download | fluxbox_pavel-5c5ad62846f9041684458c0ed38c4b135b7f294d.zip fluxbox_pavel-5c5ad62846f9041684458c0ed38c4b135b7f294d.tar.bz2 |
Adds the OnTab keyword for the keys file
Adding the following lines to the keys file restore the old behaviour to
use Mouse2 on tabs to start tabbing, and keep OnTitlebar Mouse2 to lower
the window.
OnTab Mouse2 :StartTabbing
OnTab Move1 :StartMoving
Note: Internal tabs are triggering both OnTab and OnTitlebar events.
Diffstat (limited to 'src/FbWinFrame.hh')
-rw-r--r-- | src/FbWinFrame.hh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/FbWinFrame.hh b/src/FbWinFrame.hh index 347a668..46c6a7c 100644 --- a/src/FbWinFrame.hh +++ b/src/FbWinFrame.hh | |||
@@ -236,6 +236,10 @@ public: | |||
236 | /// assuming window is an event window that was generated for this frame. | 236 | /// assuming window is an event window that was generated for this frame. |
237 | bool insideTitlebar(Window win) const; | 237 | bool insideTitlebar(Window win) const; |
238 | 238 | ||
239 | /// @returns context for window, | ||
240 | /// assuming window is an event window that was generated for this frame. | ||
241 | int getContext(Window win, int x=0, int y=0, int last_x=0, int last_y=0, bool doBorders=false); | ||
242 | |||
239 | //@} | 243 | //@} |
240 | 244 | ||
241 | private: | 245 | private: |