diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-07-10 16:42:42 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-07-10 16:42:42 +0000 |
| commit | 59f318e897a301a40fb46fadbc4b825ccf86c0ba (patch) | |
| tree | 504b6939f9300a5574c1cfa1bca3f1a55c301d93 /openbox/screen.c | |
| parent | 5c2e4cced43e59fbe2bd974aabde9d0b1c9f5748 (diff) | |
prefix and capitalize the ObFocusFallbackType enum
Diffstat (limited to 'openbox/screen.c')
| -rw-r--r-- | openbox/screen.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/openbox/screen.c b/openbox/screen.c index c9b05a51..e2e141dd 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -346,9 +346,13 @@ void screen_set_desktop(guint num) /* 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 g_message("switch fallback"); - focus_fallback(Fallback_Desktop); +#endif + focus_fallback(OB_FOCUS_FALLBACK_DESKTOP); +#ifdef DEBUG_FOCUS g_message("/switch fallback"); +#endif dispatch_ob(Event_Ob_Desktop, num, old); } @@ -489,7 +493,7 @@ void screen_show_desktop(gboolean show) client_focus(it->data)) break; } else { - focus_fallback(Fallback_NoFocus); + focus_fallback(OB_FOCUS_FALLBACK_NOFOCUS); } show = !!show; /* make it boolean */ |
