summaryrefslogtreecommitdiff
path: root/openbox/screen.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-09-15 07:47:05 +0000
committerDana Jansens <danakj@orodu.net>2003-09-15 07:47:05 +0000
commit92a6b897a047054d8fabc8fdee9233a555accb11 (patch)
tree7e793d671f58b5516875836b13ef6b5c4627fc35 /openbox/screen.c
parente14a4eeee90819b504f38bc52c99b598a15cebe4 (diff)
remove focusLast and focusLastOnDesktop
Diffstat (limited to 'openbox/screen.c')
-rw-r--r--openbox/screen.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/openbox/screen.c b/openbox/screen.c
index f999a34b..e5640256 100644
--- a/openbox/screen.c
+++ b/openbox/screen.c
@@ -398,7 +398,6 @@ void screen_set_desktop(guint num)
{
GList *it;
guint old;
- XEvent e;
g_assert(num < screen_num_desktops);
@@ -435,18 +434,6 @@ void screen_set_desktop(guint num)
frame_hide(c->frame);
}
}
-
- XSync(ob_display, FALSE);
- /* focus the last focused window on the desktop, and ignore enter events
- from the switch so it doesnt mess with the focus */
- while (XCheckTypedEvent(ob_display, EnterNotify, &e));
-#ifdef DEBUG_FOCUS
- ob_debug("switch fallback\n");
-#endif
- focus_fallback(OB_FOCUS_FALLBACK_DESKTOP);
-#ifdef DEBUG_FOCUS
- ob_debug("/switch fallback\n");
-#endif
}
static void get_row_col(guint d, guint *r, guint *c)