File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -1093,18 +1093,20 @@ qubes_destroy_pixmap(PixmapPtr pixmap) {
10931093
10941094static void
10951095sendRealizedNotify (WindowPtr win , Bool unrealized ) {
1096- if (agentClient ) {
1097- xQVEWindowRealizedEvent e = {};
1098- e .type = QVE -> eventBase + QVEWindowRealized ;
1099-
1100- if (unrealized ) {
1101- e .detail |= QVEWindowRealizedDetailUnrealized ;
1102- }
1096+ if (!agentClient ) {
1097+ return ;
1098+ }
11031099
1104- e .window = win -> drawable .id ;
1100+ xQVEWindowRealizedEvent e = {};
1101+ e .type = QVE -> eventBase + QVEWindowRealized ;
11051102
1106- WriteEventsToClient (agentClient , 1 , (xEvent * )& e );
1103+ if (unrealized ) {
1104+ e .detail |= QVEWindowRealizedDetailUnrealized ;
11071105 }
1106+
1107+ e .window = win -> drawable .id ;
1108+
1109+ WriteEventsToClient (agentClient , 1 , (xEvent * )& e );
11081110}
11091111
11101112static Bool
You can’t perform that action at this time.
0 commit comments