mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 20:38:08 +01:00
Added runtime option that lets one to set a small border around the
workspace that will not be covered by windows when maximizing, and thus allowing easy access to the clip or menus using the mouse in this border area, even when the screen is covered by windows maximized in both horizontal and vertical directions. A make clean is needed in src/ because new members were added to the WPreferences structure in WindowMaker.h
This commit is contained in:
@@ -219,6 +219,13 @@ typedef enum {
|
||||
#define WD_BOTTOMRIGHT 7
|
||||
|
||||
|
||||
/* workspace border position */
|
||||
#define WB_NONE 0
|
||||
#define WB_LEFTRIGHT 1
|
||||
#define WB_TOPBOTTOM 2
|
||||
#define WB_ALLDIRS (WB_LEFTRIGHT|WB_TOPBOTTOM)
|
||||
|
||||
|
||||
/* program states */
|
||||
#define WSTATE_NORMAL 0
|
||||
#define WSTATE_NEED_EXIT 1
|
||||
@@ -420,6 +427,9 @@ typedef struct WPreferences {
|
||||
int edge_resistance;
|
||||
char attract;
|
||||
|
||||
unsigned int workspace_border_size; /* Size in pixels of the workspace border */
|
||||
char workspace_border_position; /* Where to leave a workspace border */
|
||||
|
||||
struct {
|
||||
unsigned int nodock:1; /* don't display the dock */
|
||||
unsigned int noclip:1; /* don't display the clip */
|
||||
|
||||
Reference in New Issue
Block a user