diff gui/ui/video.c @ 35664:9162585304d0

Save the correct video window position. Additionally, remove the pointless assignment of the video window position in video.c, because that's already performed during the ConfigureNotify event. (As a result of this pointless assignment, the new video window position had only be saved if dragged with the left mouse button inside the window, not if dragged by the title bar.)
author ib
date Wed, 16 Jan 2013 19:43:56 +0000
parents 75c26c61fd3c
children 80c5c89f77d6
line wrap: on
line diff
--- a/gui/ui/video.c	Wed Jan 16 19:38:44 2013 +0000
+++ b/gui/ui/video.c	Wed Jan 16 19:43:56 2013 +0000
@@ -88,9 +88,6 @@
                    if ( !guiApp.videoWindow.isFullScreen )
                     {
                      wsMoveWindow( &guiApp.videoWindow,True,RX - sx,RY - sy );
-                     guiApp.video.x = guiApp.videoWindow.X;
-                     guiApp.video.y = guiApp.videoWindow.Y;
-                     // NOTE TO MYSELF: dragging the title bar goes unnoticed?
                     }
                    break;
             case wsPMMouseButton: