Fix X11 '_NET_ACTIVE_WINDOW' message (STR 3396)
Send a valid timestamp rather than 0. For details see STR 3396.
This commit is contained in:
parent
6b39bc095f
commit
0c712e50bc
@ -2280,8 +2280,10 @@ void Fl_X11_Window_Driver::activate_window() {
|
||||
prev = x->xid;
|
||||
}
|
||||
|
||||
send_wm_event(w, fl_NET_ACTIVE_WINDOW, 1 /* application */,
|
||||
0 /* timestamp */, prev /* previously active window */);
|
||||
send_wm_event(w, fl_NET_ACTIVE_WINDOW,
|
||||
1, // source: 1 = application
|
||||
fl_event_time, // time of client's last user activity (STR 3396)
|
||||
prev); // previously active window
|
||||
}
|
||||
|
||||
/* Change an existing window to fullscreen */
|
||||
|
Loading…
Reference in New Issue
Block a user