diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-13 17:28:52 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-13 17:28:52 +0000 |
| commit | b67e98842c65d9ce8caeae0bc512ccfa5336605f (patch) | |
| tree | 888133ce1deaf7c3ccb964279ec4230157a1fe38 /openbox | |
| parent | 0ec49ac7811fccd56e14f724c67b7a547df26233 (diff) | |
reset the pager popup's size after reconfigure
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/screen.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/openbox/screen.c b/openbox/screen.c index 34935f47..1cbb2a5e 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -312,8 +312,13 @@ void screen_startup(gboolean reconfig) desktop_cycle_popup = pager_popup_new(FALSE); pager_popup_height(desktop_cycle_popup, POPUP_HEIGHT); - if (reconfig) + if (reconfig) { + /* update the pager popup's width */ + pager_popup_text_width_to_strings(desktop_cycle_popup, + screen_desktop_names, + screen_num_desktops); return; + } /* get the initial size */ screen_resize(); |
