X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2FWindow.hh;h=02c15bcbf480cbd788fd4f5f4ddccbd262e6f16d;hb=8344443c100387fd112508e1ed9ae679fea136bd;hp=2372b5b114f19919d1d98b47551a2e3585d9b488;hpb=0f710360990e6d079116d951295c21664e2e0fce;p=chaz%2Fopenbox diff --git a/src/Window.hh b/src/Window.hh index 2372b5b1..02c15bcb 100644 --- a/src/Window.hh +++ b/src/Window.hh @@ -134,6 +134,7 @@ private: unsigned int window_number; unsigned long current_state; + unsigned int mod_mask; // the mod mask used to grab buttons enum FocusMode { F_NoInput = 0, F_Passive, F_LocallyActive, F_GloballyActive }; @@ -295,7 +296,7 @@ private: void setState(unsigned long new_state); void upsize(void); void doMove(int x_root, int y_root); - bool doWorkspaceWarping(int x_root, int y_root, int dx, int dy); + void doWorkspaceWarping(int x_root, int y_root, int &dx); void doWindowSnapping(int &dx, int &dy); void endMove(void); void doResize(int x_root, int y_root);