Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
spectrwm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace map_window_raised with map_window function.
[spectrwm.git]
/
spectrwm.c
diff --git
a/spectrwm.c
b/spectrwm.c
index
75c7a6c
..
71c7d9c
100644
(file)
--- a/
spectrwm.c
+++ b/
spectrwm.c
@@
-2882,6
+2882,10
@@
switchws(struct swm_region *r, union arg *args)
if (!new_ws->focus)
bar_update();
if (!new_ws->focus)
bar_update();
+ /* make sure bar gets updated if ws is empty */
+ if (!new_ws->focus)
+ bar_update();
+
focus_flush();
DNPRINTF(SWM_D_WS, "switchws: done.\n");
focus_flush();
DNPRINTF(SWM_D_WS, "switchws: done.\n");
@@
-7550,6
+7554,7
@@
void
propertynotify(xcb_property_notify_event_t *e)
{
struct ws_win *win;
propertynotify(xcb_property_notify_event_t *e)
{
struct ws_win *win;
+ union arg a;
#ifdef SWM_DEBUG
char *name;
#ifdef SWM_DEBUG
char *name;