Using error handler to block XGetImage errors caused in FLTK. Seems how these errors can cause

panel to stop event processing
This commit is contained in:
Sanel Zukan
2009-10-06 11:20:19 +00:00
parent ee4dbe0109
commit 28de0f8e96
3 changed files with 36 additions and 2 deletions

View File

@@ -93,7 +93,7 @@ static int xevent_handler(int e) {
if(fl_xevent->type == PropertyNotify) {
int action = -1;
E_DEBUG("==> %s\n", XGetAtomName(fl_display, fl_xevent->xproperty.atom));
/* E_DEBUG("==> %s\n", XGetAtomName(fl_display, fl_xevent->xproperty.atom)); */
if(fl_xevent->xproperty.atom == _XA_NET_NUMBER_OF_DESKTOPS)
action = NETWM_CHANGED_WORKSPACE_COUNT;