all repos — fluxbox @ 5f3cb410cdda9f94e99f17a60fc0456ca41bf1e0

custom fork of the fluxbox windowmanager

Patch from Thomas Luebking

Documents Opaque Resizing and adds a fancy config menu item
Mark Tiefenbruck mark@fluxbox.org
commit

5f3cb410cdda9f94e99f17a60fc0456ca41bf1e0

parent

8bc11006a5ac8c10a539e5a38cdf62205ff386ad

4 files changed, 50 insertions(+), 12 deletions(-)

jump to
M doc/asciidoc/fluxbox.txtdoc/asciidoc/fluxbox.txt

@@ -414,6 +414,10 @@ *Opaque Window Moving*:::

If enabled, you will see the window content while dragging it. Otherwise only an outline of the window will be shown. +*Opaque Window Resizing*::: + If enabled, you will see the window content while resizing it. Otherwise + only an outline of the window will be shown. + *Workspace Warping*::: If enabled, you can drag windows from one workspace to another. There are parameters to set independently whether this warping happens horizontally

@@ -1168,6 +1172,24 @@ contents as it moves (this is nasty on slow systems). If False, it

will only draw an outline of the window border. + Default: *True* + +*session.screen0.opaqueResize*: 'boolean':: +When resizing a window, setting this to True will draw the window +contents as it resizes (this is nasty on slow systems). If False, it +will only draw an outline of the window border. ++ +Default: *False* + +*session.screen0.opaqueResizeDelay*: 'integer':: +When resizing a window in opaque mode, this controls the resize clock pulse in +ms. +Low values resize "smoother" but slow clients (browser etc. which are expensive +to resize) can put too much stress on the system (stalling everything) +High values will cause notable latency (delay before the size is aligned to +the mouse position) ++ +Default: *40* + *session.screen0.workspaces*: 'integer':: Set this to the number of workspaces the users wants.
M doc/fluxbox.1.indoc/fluxbox.1.in

@@ -1,7 +1,7 @@

'\" t .\" Title: fluxbox .\" Author: Henrik Kinnunen <fluxgen@fluxbox.org> -.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> +.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> .\" Date: 08 February 2015 .\" Manual: Fluxbox Manual .\" Source: fluxbox.txt

@@ -826,14 +826,14 @@ .RS 4

If enabled, you will see the window content while dragging it\&. Otherwise only an outline of the window will be shown\&. .RE .PP +\fBOpaque Window Resizing\fR +.RS 4 +If enabled, you will see the window content while resizing it\&. Otherwise only an outline of the window will be shown\&. +.RE +.PP \fBWorkspace Warping\fR .RS 4 -If enabled, you can drag windows from one workspace to another\&. There are -parameters to set independently whether this warping happens horizontally -and/or vertically, and in each direction you can set the number of workspaces -to jump when warping (to allow for a virtual rectangular grid of -workspaces)\&. When warping, lower-numbered workspaces are above/to the left, and -higher-numbered workspaces below/to the right\&. +If enabled, you can drag windows from one workspace to another\&. There are parameters to set independently whether this warping happens horizontally and/or vertically, and in each direction you can set the number of workspaces to jump when warping (to allow for a virtual rectangular grid of workspaces)\&. When warping, lower\-numbered workspaces are above/to the left, and higher\-numbered workspaces below/to the right\&. .RE .SS "Window Menu" .sp

@@ -1206,11 +1206,6 @@ .RS 4

All icons will be sized evenly to fill the iconbar completely .RE .PP -\fBRelativeSmart\fR: -.RS 4 -All icons will initially be sized evenly, but icons with long titles will be larger -.RE -.PP \fBRight\fR: .RS 4 All icons will be right\-aligned with the width set in the \(oqinit\(cq file

@@ -1932,6 +1927,22 @@ When moving a window, setting this to True will draw the window contents as it moves (this is nasty on slow systems)\&. If False, it will only draw an outline of the window border\&.

.sp Default: \fBTrue\fR +.RE +.PP +\fBsession\&.screen0\&.opaqueResize\fR: \fIboolean\fR +.RS 4 +When resizing a window, setting this to True will draw the window contents as it resizes (this is nasty on slow systems)\&. If False, it will only draw an outline of the window border\&. +.sp +Default: +\fBFalse\fR +.RE +.PP +\fBsession\&.screen0\&.opaqueResizeDelay\fR: \fIinteger\fR +.RS 4 +When resizing a window in opaque mode, this controls the resize clock pulse in ms\&. Low values resize "smoother" but slow clients (browser etc\&. which are expensive to resize) can put too much stress on the system (stalling everything) High values will cause notable latency (delay before the size is aligned to the mouse position) +.sp +Default: +\fB40\fR .RE .PP \fBsession\&.screen0\&.workspaces\fR: \fIinteger\fR
M nls/fluxbox-nls.hhnls/fluxbox-nls.hh

@@ -89,6 +89,7 @@ ConfigmenuMaxDisableMove = 28,

ConfigmenuMaxDisableResize = 29, ConfigmenuStrictMouseFocus = 30, ConfigmenuFocusSameHead = 31, + ConfigmenuOpaqueResize = 32, EwmhSet = 5, EwmhOutOfMemoryClientList = 1,
M src/ConfigMenu.ccsrc/ConfigMenu.cc

@@ -336,6 +336,10 @@ _BOOLITEM(menu, Configmenu, OpaqueMove,

"Opaque Window Moving", "Window Moving with whole window visible (as opposed to outline moving)", sh.resource.opaque_move, saverc_cmd); + _BOOLITEM(menu, Configmenu, OpaqueResize, + "Opaque Window Resizing", + "Window Resizing with whole window visible (as opposed to outline resizing)", + sh.resource.opaque_resize, saverc_cmd); _BOOLITEM(menu, Configmenu, WorkspaceWarping, "Workspace Warping", "Workspace Warping - dragging windows to the edge and onto the next workspace",