mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-18 20:10:29 +01:00
Coverity: fix wmspec dereference after null check
This commit is contained in:
committed by
Carlos R. Mafra
parent
59a686d22e
commit
0ccc5bbde7
@@ -1736,7 +1736,7 @@ Bool wNETWMProcessClientMessage(XClientMessageEvent *event)
|
||||
if (wwin->frame->workspace == wwin->screen_ptr->current_workspace /* No workspace change */
|
||||
|| event->data.l[0] == 2 /* Requested by pager */
|
||||
|| WFLAGP(wwin, focus_across_wksp) /* Explicitly allowed */) {
|
||||
wNETWMShowingDesktop(scr, False);
|
||||
wNETWMShowingDesktop(wwin->screen_ptr, False);
|
||||
wMakeWindowVisible(wwin);
|
||||
}
|
||||
return True;
|
||||
|
||||
Reference in New Issue
Block a user