Mercurial > mplayer.hg
comparison gui/interface.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 | d1f84b219340 |
children | b0ad675bd3b7 |
comparison
equal
deleted
inserted
replaced
35663:d1f84b219340 | 35664:9162585304d0 |
---|---|
264 uiMainRender = False; | 264 uiMainRender = False; |
265 | 265 |
266 if (gui_save_pos) { | 266 if (gui_save_pos) { |
267 gui_main_pos_x = guiApp.mainWindow.X; | 267 gui_main_pos_x = guiApp.mainWindow.X; |
268 gui_main_pos_y = guiApp.mainWindow.Y; | 268 gui_main_pos_y = guiApp.mainWindow.Y; |
269 gui_video_pos_x = guiApp.video.x; | 269 gui_video_pos_x = guiApp.videoWindow.X; |
270 gui_video_pos_y = guiApp.video.y; | 270 gui_video_pos_y = guiApp.videoWindow.Y; |
271 } | 271 } |
272 | 272 |
273 ass_enabled = gtkASS.enabled; | 273 ass_enabled = gtkASS.enabled; |
274 ass_use_margins = gtkASS.use_margins; | 274 ass_use_margins = gtkASS.use_margins; |
275 ass_top_margin = gtkASS.top_margin; | 275 ass_top_margin = gtkASS.top_margin; |