diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-08-07 19:18:03 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-08-07 19:18:03 +0000 |
commit | 53779e6de6bf137ab6223406e1072e493ed6d1b7 (patch) | |
tree | 5a048ed4544e87fa1ccccb6b7b157d583a4c47bb /x11-wm | |
parent | a8abed35ca32db8520dd6b73db373f945178a2d1 (diff) | |
download | ports-53779e6de6bf137ab6223406e1072e493ed6d1b7.tar.gz ports-53779e6de6bf137ab6223406e1072e493ed6d1b7.zip |
Notes
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/aewm++/files/patch-windowmanager.cc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/x11-wm/aewm++/files/patch-windowmanager.cc b/x11-wm/aewm++/files/patch-windowmanager.cc new file mode 100644 index 000000000000..039a996c140d --- /dev/null +++ b/x11-wm/aewm++/files/patch-windowmanager.cc @@ -0,0 +1,15 @@ +--- windowmanager.cc.orig Thu May 15 10:44:12 2003 ++++ windowmanager.cc Thu Aug 5 20:07:05 2004 +@@ -623,9 +623,10 @@ + } + if (ks >= XK_1 && ks <= XK_1+(unsigned)max_desktops && ks - XK_1 <= (unsigned)9) /* no two digit keys */ + { +- if( (unsigned)current_desktop != ks - XK_1 ) ++ unsigned my_current_desktop = (unsigned)current_desktop; ++ if( my_current_desktop != ks - XK_1 ) + { +- (unsigned)current_desktop = ks - XK_1; ++ my_current_desktop = ks - XK_1; + goToDesktop(current_desktop); + } + } |