mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 06:51:47 +00:00
use XMapRaised instead of XMapWindow + XRaiseWindow
This commit is contained in:
parent
0f30506b79
commit
95515e28d7
1 changed files with 1 additions and 3 deletions
|
@ -393,7 +393,7 @@ void X11_UpdateFullscreen (cvar_t *fullscreen)
|
|||
X11_ProcessEvent (); //FIXME should do proper event parsing.
|
||||
attr.override_redirect = vidmode_active != 0;
|
||||
XChangeWindowAttributes (x_disp, x_win, mask, &attr);
|
||||
XMapWindow (x_disp, x_win);
|
||||
XMapRaised (x_disp, x_win);
|
||||
X11_ProcessEvent (); //FIXME should do proper event parsing.
|
||||
if (vidmode_active) {
|
||||
XMoveWindow(x_disp, x_win, 0, 0);
|
||||
|
@ -402,8 +402,6 @@ void X11_UpdateFullscreen (cvar_t *fullscreen)
|
|||
window_saved = 0;
|
||||
}
|
||||
X11_ProcessEvent (); //FIXME should do proper event parsing.
|
||||
XRaiseWindow (x_disp, x_win);
|
||||
X11_ProcessEvent (); //FIXME should do proper event parsing.
|
||||
XWarpPointer (x_disp, None, x_win, 0, 0, 0, 0, 0, 0);
|
||||
|
||||
if (vidmode_active) {
|
||||
|
|
Loading…
Reference in a new issue