all repos — fluxbox @ c2042323b707a4c36e0408c1eef61981093a1468

custom fork of the fluxbox windowmanager

cleaning
fluxgen fluxgen
commit

c2042323b707a4c36e0408c1eef61981093a1468

parent

3999aded8c6b7f4efa758750d031cf5ef283ce7d

1 files changed, 6 insertions(+), 7 deletions(-)

jump to
M src/Screen.hhsrc/Screen.hh

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Screen.hh,v 1.129 2003/12/19 00:34:23 fluxgen Exp $ +// $Id: Screen.hh,v 1.130 2003/12/19 01:46:58 fluxgen Exp $ #ifndef SCREEN_HH #define SCREEN_HH

@@ -97,7 +97,6 @@ inline bool isWorkspaceWarping() const { return *resource.workspace_warping; }

inline bool isDesktopWheeling() const { return *resource.desktop_wheeling; } inline bool doAutoRaise() const { return *resource.auto_raise; } inline bool clickRaises() const { return *resource.click_raises; } - inline bool doImageDither() const { return *resource.image_dither; } inline bool doOpaqueMove() const { return *resource.opaque_move; } inline bool doFullMax() const { return *resource.full_max; } inline bool doFocusNew() const { return *resource.focus_new; }

@@ -184,12 +183,8 @@ inline ColumnDirection getColPlacementDirection() const { return *resource.col_direction; }

inline void setRootColormapInstalled(bool r) { root_colormap_installed = r; } inline void saveRootCommand(std::string rootcmd) { *resource.rootcommand = rootcmd; } - inline void saveResizeMode(std::string resizem) { *resource.resizemode = resizem; } inline void saveFocusModel(FocusModel model) { resource.focus_model = model; } inline void saveWorkspaces(int w) { *resource.workspaces = w; } - inline void saveEdgeSnapThreshold(int t) { resource.edge_snap_threshold = t; } - inline void saveImageDither(bool d) { resource.image_dither = d; } - void setAntialias(bool value);

@@ -211,6 +206,9 @@ FbTk::ResourceManager &resourceManager() { return m_resource_manager; }

const FbTk::ResourceManager &resourceManager() const { return m_resource_manager; } const std::string &name() const { return m_name; } const std::string &altName() const { return m_altname; } + bool isShuttingdown() const { return m_shutdown; } + + int addWorkspace(); int removeLastWorkspace(); // scroll workspaces

@@ -305,6 +303,7 @@ void updateNetizenWindowDel(Window);

void updateNetizenConfigNotify(XEvent &ev); void updateNetizenWindowRaise(Window); void updateNetizenWindowLower(Window); + /// create window frame for client window and attach it FluxboxWindow *createWindow(Window clientwin); FluxboxWindow *createWindow(WinClient &client);

@@ -322,7 +321,7 @@ // delete and remove the menu itself (opposite to Window)

void addConfigMenu(const char *label, FbTk::Menu &menu); void removeConfigMenu(FbTk::Menu &menu); - bool isShuttingdown() const { return m_shutdown; } +