diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-10 20:44:44 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-11 10:04:45 +0900 |
| commit | b81117094f6118324df215ad1893d0ff2cb79747 (patch) | |
| tree | ba54ffa64904be299b00203dd3d9e73d9f5e071b /twin/utils.h | |
| parent | ff9d1cfabf9e8b04e5560b41318729c63be42818 (diff) | |
| download | tdebase-b8111709.tar.gz tdebase-b8111709.zip | |
Fix twin crash when starting with 'Switch desktop' option set. This
resolves issue #455.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 7e7c3b4d5f4d2793eff2edb278da4bee29097e04)
Diffstat (limited to 'twin/utils.h')
| -rw-r--r-- | twin/utils.h | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/twin/utils.h b/twin/utils.h index 36e9879a5..da2f9c2e3 100644 --- a/twin/utils.h +++ b/twin/utils.h @@ -110,19 +110,16 @@ enum ShadeMode enum ActiveBorder { - ActiveNone = 0, - - ActiveLeft = 1, - ActiveRight = 2, - ActiveTop = 4, - ActiveBottom = 8, - - ActiveTopLeft = ActiveTop | ActiveLeft, - ActiveTopRight = ActiveTop | ActiveRight, - ActiveBottomLeft = ActiveBottom | ActiveLeft, - ActiveBottomRight = ActiveBottom | ActiveRight, - - ACTIVE_BORDER_COUNT + ActiveTop = 0, + ActiveTopRight, + ActiveRight, + ActiveBottomRight, + ActiveBottom, + ActiveBottomLeft, + ActiveLeft, + ActiveTopLeft, + ACTIVE_BORDER_COUNT, + ActiveNone }; enum ActiveMaximizingMode |
