[sawfish] Bugfix. Commands 'maximize-window-fullscreen' and 'code{maximize-window-fullxinerama' work.
- From: Christopher Bratusek <chrisb src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [sawfish] Bugfix. Commands 'maximize-window-fullscreen' and 'code{maximize-window-fullxinerama' work.
- Date: Tue, 3 Nov 2009 16:22:24 +0000 (UTC)
commit b684aaba0a0d2e27c00e171d128aa7627df35ab4
Author: Teika kazura <teika lavabit com>
Date: Sat Oct 31 17:20:27 2009 +0900
Bugfix. Commands 'maximize-window-fullscreen' and 'code{maximize-window-fullxinerama' work.
Related doc error is corrected, too.
lisp/sawfish/wm/state/maximize.jl | 7 +++++--
man/news.texi | 2 ++
man/sawfish.texi | 24 +++++++-----------------
3 files changed, 14 insertions(+), 19 deletions(-)
---
diff --git a/lisp/sawfish/wm/state/maximize.jl b/lisp/sawfish/wm/state/maximize.jl
index 2c89973..9d37373 100644
--- a/lisp/sawfish/wm/state/maximize.jl
+++ b/lisp/sawfish/wm/state/maximize.jl
@@ -546,7 +546,8 @@ unmaximized."
(maximize-window-fullscreen w (not (window-maximized-fullscreen-p w))))
(define-command 'maximize-window-fullscreen
- maximize-window-fullscreen #:spec "%W")
+ maximize-window-fullscreen #:spec "%W
+t")
(define-command 'maximize-window-fullscreen-toggle
maximize-window-fullscreen-toggle #:spec "%W")
@@ -579,7 +580,9 @@ across all Xinerama and unmaximized."
(maximize-window-fullxinerama w (not (window-maximized-fullscreen-p w))))
(define-command 'maximize-window-fullxinerama
- maximize-window-fullxinerama #:spec "%W")
+ maximize-window-fullxinerama #:spec "%W
+t")
+
(define-command 'maximize-window-fullxinerama-toggle
maximize-window-fullxinerama-toggle #:spec "%W")
diff --git a/man/news.texi b/man/news.texi
index ffac0bd..8bb631d 100644
--- a/man/news.texi
+++ b/man/news.texi
@@ -97,6 +97,8 @@ Position parameters can be negative [Christopher Bratusek, Teika Kazura]
@item Missing exports are now supplied, for shrink-yank functions and @code{send-to-workspace}. [Christopher Bratusek]
+ item Commands @code{maximize-window-fullscreen} and @code{maximize-window-fullxinerame} work. [Teika kazura]
+
@end itemize
@item New features:
@itemize @minus
diff --git a/man/sawfish.texi b/man/sawfish.texi
index 4842793..9f1873c 100644
--- a/man/sawfish.texi
+++ b/man/sawfish.texi
@@ -2504,15 +2504,14 @@ is usually required for terminal windows, for example.)
The ``fullscreen'' category maximizes the window to the current
screen.
- deffn Function maximize-window-fullscreen window
+ deffn Function maximize-window-fullscreen window state
@deffnx Command maximize-window-fullscreen window
Maximize both dimensions of @var{window} on the screen, removing
window decorations and making the window edges flush with the screen
-sides.
+sides.
-If defined, @var{direction} is a symbol, either @code{vertical} or
- code{horizontal}, and maximization will only occur for that
-direction.
+If @var{state} nil, it unmaximizes. Else, it maximizes. If called as
+a command, it always maximizes.
@end deffn
@deffn Function maximize-window-fullscreen-toggle window
@@ -2520,24 +2519,19 @@ direction.
Toggle the state of @var{window} between maximized and unmaximized in
the screen, removing window decorations and making the window edges
flush with the screen sides.
-
-If defined, @var{direction} is a symbol, either @code{vertical} or
- code{horizontal}, and maximization will only occur for that
-direction.
@end deffn
The ``fullxinerama'' category maximizes the window to the entire
Xinerama display.
- deffn Function maximize-window-fullxinerama window
+ deffn Function maximize-window-fullxinerama window state
@deffnx Command maximize-window-fullxinerama window
Maximize both dimensions of @var{window} across all Xinerama screens,
removing window decorations and making the window edges flush with the
screen sides.
-If defined, @var{direction} is a symbol, either @code{vertical} or
- code{horizontal}, and maximization will only occur for that
-direction.
+If @var{state} nil, it unmaximizes. Else, it maximizes. If called as
+a command, it always maximizes.
@end deffn
@deffn Function maximize-window-fullxinerama-toggle window
@@ -2545,10 +2539,6 @@ direction.
Toggle the state of @var{window} between maximized and unmaximized
across all Xinerama screeens, removing window decorations and making
the window edges flush with the screen sides.
-
-If defined, @var{direction} is a symbol, either @code{vertical} or
- code{horizontal}, and maximization will only occur for that
-direction.
@end deffn
@node Unmaximizing, , Maximizing Without Borders, Maximizing Windows
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]