X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2FScreen.hh;h=6d12f3208b8d41533e715af369554cf272b87b86;hb=8a48fff773dea20ab93ee8f22b281e852b51242e;hp=ca8194ce317172d9204f30b42550a82efd924ead;hpb=3356db488548ea8bfca0ab398a97b1d425b8bb19;p=chaz%2Fopenbox diff --git a/src/Screen.hh b/src/Screen.hh index ca8194ce..6d12f320 100644 --- a/src/Screen.hh +++ b/src/Screen.hh @@ -120,7 +120,7 @@ private: BlackboxWindowList iconList, windowList; typedef std::vector WindowList; - WindowList desktopWindowList, systrayWindowList; + WindowList specialWindowList, desktopWindowList, systrayWindowList; Slit *slit; Toolbar *toolbar; @@ -151,6 +151,7 @@ private: ignore_shaded, ignore_maximized, workspace_warping; int snap_to_windows, snap_to_edges; + unsigned int snap_offset; BColor border_color; @@ -270,6 +271,8 @@ public: { return resource.workspaces; } inline int getPlacementPolicy(void) const { return resource.placement_policy; } + inline int getSnapOffset(void) const + { return resource.snap_offset; } inline int getSnapThreshold(void) const { return resource.snap_threshold; } inline int getResistanceSize(void) const @@ -290,6 +293,7 @@ public: void saveRowPlacementDirection(int d); void saveColPlacementDirection(int d); void saveSnapThreshold(int t); + void saveSnapOffset(int o); void saveResistanceSize(int s); void saveImageDither(bool d); void saveAAFonts(bool f); @@ -372,6 +376,9 @@ public: void showGeometry(unsigned int gx, unsigned int gy); void hideGeometry(void); + void showWorkspaceMenu(int x, int y); + void showRootMenu(int x, int y); + void buttonPressEvent(const XButtonEvent *xbutton); void propertyNotifyEvent(const XPropertyEvent *pe);