aboutsummaryrefslogtreecommitdiffstats
path: root/action.c
diff options
context:
space:
mode:
authorgotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-05-08 08:22:13 +0000
committergotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-05-08 08:22:13 +0000
commit686d65dbd94f6b23c4422ed0cfdc2f9d73574825 (patch)
tree05c66ce39954d673108288a5af3a21c5533b482d /action.c
parent6779787c0ba63c0498c8db125095f6d4095ecdb1 (diff)
downloaddzen-686d65dbd94f6b23c4422ed0cfdc2f9d73574825.tar.gz
dzen-686d65dbd94f6b23c4422ed0cfdc2f9d73574825.zip
fixed broken autohide by relacing obsolete dzen.mw with dzen.title_win.width
git-svn-id: http://dzen.googlecode.com/svn/trunk@11 f2baff5b-bf2c-0410-a398-912abdc3d8b2
Diffstat (limited to 'action.c')
-rw-r--r--action.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/action.c b/action.c
index 9a9fe6d..0a65837 100644
--- a/action.c
+++ b/action.c
@@ -180,7 +180,7 @@ x_draw_body(void) {
int
a_exposetitle(char * opt[]) {
XCopyArea(dzen.dpy, dzen.title_win.drawable, dzen.title_win.win,
- dzen.gc, 0, 0, dzen.mw, dzen.mh, 0, 0);
+ dzen.gc, 0, 0, dzen.title_win.width, dzen.mh, 0, 0);
return 0;
}
@@ -276,7 +276,7 @@ a_scrolldown(char * opt[]) {
int
a_hide(char * opt[]) {
if(dzen.title_win.autohide && !dzen.title_win.ishidden) {
- XResizeWindow(dzen.dpy, dzen.title_win.win, dzen.mw, 1);
+ XResizeWindow(dzen.dpy, dzen.title_win.win, dzen.title_win.width, 1);
dzen.title_win.ishidden = True;
}
return 0;
@@ -285,7 +285,7 @@ a_hide(char * opt[]) {
int
a_unhide(char * opt[]) {
if(dzen.title_win.autohide && dzen.title_win.ishidden) {
- XResizeWindow(dzen.dpy, dzen.title_win.win, dzen.mw, dzen.mh);
+ XResizeWindow(dzen.dpy, dzen.title_win.win, dzen.title_win.width, dzen.mh);
dzen.title_win.ishidden = False;
}
return 0;