aboutsummaryrefslogtreecommitdiff
path: root/src/Window.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-04-12 18:19:10 (GMT)
committerfluxgen <fluxgen>2004-04-12 18:19:10 (GMT)
commit9502426e7335e08395fe9500c5ecdff98e680d14 (patch)
treeeb7fee860c62d1b11281d0838074c010afd9205b /src/Window.hh
parentd26e439375245be6a5c2044be93b952f02ad68f7 (diff)
downloadfluxbox_pavel-9502426e7335e08395fe9500c5ecdff98e680d14.zip
fluxbox_pavel-9502426e7335e08395fe9500c5ecdff98e680d14.tar.bz2
fixed grab counting
Diffstat (limited to 'src/Window.hh')
-rw-r--r--src/Window.hh13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/Window.hh b/src/Window.hh
index 0c80669..6b5a411 100644
--- a/src/Window.hh
+++ b/src/Window.hh
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Window.hh,v 1.110 2004/03/21 09:00:25 rathnor Exp $ 25// $Id: Window.hh,v 1.111 2004/04/12 18:19:10 fluxgen Exp $
26 26
27#ifndef WINDOW_HH 27#ifndef WINDOW_HH
28#define WINDOW_HH 28#define WINDOW_HH
@@ -413,6 +413,16 @@ private:
413 void moveResizeClient(WinClient &client, int x, int y, unsigned int width, unsigned int height); 413 void moveResizeClient(WinClient &client, int x, int y, unsigned int width, unsigned int height);
414 /// sends configurenotify to all clients 414 /// sends configurenotify to all clients
415 void sendConfigureNotify(bool send_to_netizens = true); 415 void sendConfigureNotify(bool send_to_netizens = true);
416
417 static void grabPointer(Window grab_window,
418 Bool owner_events,
419 unsigned int event_mask,
420 int pointer_mode, int keyboard_mode,
421 Window confine_to,
422 Cursor cursor,
423 Time time);
424 static void ungrabPointer(Time time);
425
416 // state and hint signals 426 // state and hint signals
417 WinSubject m_hintsig, m_statesig, m_layersig, m_workspacesig, m_diesig, m_focussig, m_titlesig; 427 WinSubject m_hintsig, m_statesig, m_layersig, m_workspacesig, m_diesig, m_focussig, m_titlesig;
418 428
@@ -487,6 +497,7 @@ private:
487 ResizeCorner m_resize_corner; 497 ResizeCorner m_resize_corner;
488 498
489 ExtraMenus m_extramenus; 499 ExtraMenus m_extramenus;
500 static int s_num_grabs; ///< number of XGrabPointer's
490}; 501};
491 502
492 503