mirror of
https://github.com/gryf/wmaker.git
synced 2026-10-06 09:20:34 +02:00
Coverity: fix wmspec dereference after null check
This commit is contained in:
1 parent
59a686d22e
commit
0ccc5bbde7
1 file changed
+1
-1
+1
-1
@@ -1736,7 +1736,7 @@ Bool wNETWMProcessClientMessage(XClientMessageEvent *event)
|
|||||||
if (wwin->frame->workspace == wwin->screen_ptr->current_workspace /* No workspace change */
|
if (wwin->frame->workspace == wwin->screen_ptr->current_workspace /* No workspace change */
|
||||||
|| event->data.l[0] == 2 /* Requested by pager */
|
|| event->data.l[0] == 2 /* Requested by pager */
|
||||||
|| WFLAGP(wwin, focus_across_wksp) /* Explicitly allowed */) {
|
|| WFLAGP(wwin, focus_across_wksp) /* Explicitly allowed */) {
|
||||||
wNETWMShowingDesktop(scr, False);
|
wNETWMShowingDesktop(wwin->screen_ptr, False);
|
||||||
wMakeWindowVisible(wwin);
|
wMakeWindowVisible(wwin);
|
||||||
}
|
}
|
||||||
return True;
|
return True;
|
||||||
|
|||||||
Reference in new issue
Block a user