[MPlayer-cvslog] r38322 - trunk/gui/wm/ws.c
ib
subversion at mplayerhq.hu
Tue Oct 5 13:02:45 EEST 2021
Author: ib
Date: Tue Oct 5 13:02:45 2021
New Revision: 38322
Log:
Fix wsWindowRaiseTop().
It did not work in all cases, as the skin browser did not raise on top
again while previewing a selected skin. (Instead, the main window was
on top.)
Modified:
trunk/gui/wm/ws.c
Modified: trunk/gui/wm/ws.c
==============================================================================
--- trunk/gui/wm/ws.c Tue Oct 5 12:58:25 2021 (r38321)
+++ trunk/gui/wm/ws.c Tue Oct 5 13:02:45 2021 (r38322)
@@ -1311,8 +1311,9 @@ void wsWindowVisibility(wsWindow *win, i
*/
void wsWindowRaiseTop(Display *display, Window Win)
{
- XMapRaised(display, Win); // NOTE TO MYSELF: is that really enough?
- XRaiseWindow(display, Win); // NOTE TO MYSELF: is that really enough?
+ XUnmapWindow(display, Win);
+ XMapRaised(display, Win);
+ XRaiseWindow(display, Win);
}
// ----------------------------------------------------------------------------------------------
More information about the MPlayer-cvslog
mailing list