diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-07-14 20:54:03 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-07-14 20:54:03 +0000 |
| commit | 90dbcb271c5e6d7ca73c19a519b93885b833db0a (patch) | |
| tree | df98b2ed99b8dd6546be1d7d03221ee6d54e6ea4 /src/blackbox.cc | |
| parent | c6a826bf663d3cb286025642f5e2a725b5d1c660 (diff) | |
properly handle workspace names, and changes to them.
Diffstat (limited to 'src/blackbox.cc')
| -rw-r--r-- | src/blackbox.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/blackbox.cc b/src/blackbox.cc index ae3b5ead..3ec32d52 100644 --- a/src/blackbox.cc +++ b/src/blackbox.cc @@ -462,9 +462,13 @@ void Blackbox::process_event(XEvent *e) { case PropertyNotify: { last_time = e->xproperty.time; - BlackboxWindow *win = searchWindow(e->xproperty.window); - if (win) + BlackboxWindow *win = (BlackboxWindow *) 0; + BScreen *screen = (BScreen *) 0; + + if ((win = searchWindow(e->xproperty.window))) win->propertyNotifyEvent(&e->xproperty); + else if ((screen = searchScreen(e->xproperty.window))) + screen->propertyNotifyEvent(&e->xproperty); break; } |
