diff options
Diffstat (limited to 'src/manage.c')
-rw-r--r-- | src/manage.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/manage.c b/src/manage.c index c389e22..7d14fc9 100644 --- a/src/manage.c +++ b/src/manage.c @@ -64,10 +64,7 @@ ungrab_prefix_key (Window w) screen_info* current_screen () { - if (current_window()) - return current_window()->scr; - else - return &screens[0]; + return &screens[rp_current_screen]; } void |