diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-08-31 20:06:42 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-08-31 20:06:42 +0000 |
| commit | 854da68d0f5bed8c85c101fd6895244d60183ff5 (patch) | |
| tree | 3442c5e09253dfab99abd3f670a9ccf7234dc08c /openbox/screen.c | |
| parent | 030fabad14e994d575feba9894a0412e5266f0bb (diff) | |
add the DesktopLast action, props to marius nita for this one
Diffstat (limited to 'openbox/screen.c')
| -rw-r--r-- | openbox/screen.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbox/screen.c b/openbox/screen.c index 6f711ce8..3809e05a 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -36,6 +36,7 @@ guint screen_num_desktops; guint screen_num_monitors; guint screen_desktop; +guint screen_last_desktop; Size screen_physical_size; gboolean screen_showing_desktop; DesktopLayout screen_desktop_layout; @@ -420,6 +421,8 @@ void screen_set_desktop(guint num) if (old == num) return; + screen_last_desktop = old; + ob_debug("Moving to desktop %d\n", num+1); /* show windows before hiding the rest to lessen the enter/leave events */ |
