From 854da68d0f5bed8c85c101fd6895244d60183ff5 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 31 Aug 2003 20:06:42 +0000 Subject: add the DesktopLast action, props to marius nita for this one --- openbox/screen.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'openbox/screen.c') 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 */ -- cgit v1.2.3