Mercurial > mplayer.hg
comparison libvo/vo_quartz.c @ 13856:335778f9e6ae
remove window shadow in fullscreen
author | nplourde |
---|---|
date | Tue, 02 Nov 2004 23:01:25 +0000 |
parents | 493a0dd78307 |
children | 07dadc3066f3 |
comparison
equal
deleted
inserted
replaced
13855:493a0dd78307 | 13856:335778f9e6ae |
---|---|
1287 } | 1287 } |
1288 | 1288 |
1289 //go fullscreen | 1289 //go fullscreen |
1290 border = 0; | 1290 border = 0; |
1291 panscan_calc(); | 1291 panscan_calc(); |
1292 ChangeWindowAttributes(theWindow, 0, kWindowResizableAttribute|kWindowNoShadowAttribute); | 1292 ChangeWindowAttributes(theWindow, kWindowNoShadowAttribute, kWindowResizableAttribute); |
1293 MoveWindow(theWindow, deviceRect.left-(vo_panscan_x >> 1), deviceRect.top-(vo_panscan_y >> 1), 1); | 1293 MoveWindow(theWindow, deviceRect.left-(vo_panscan_x >> 1), deviceRect.top-(vo_panscan_y >> 1), 1); |
1294 SizeWindow(theWindow, device_width+vo_panscan_x, device_height+vo_panscan_y,1); | 1294 SizeWindow(theWindow, device_width+vo_panscan_x, device_height+vo_panscan_y,1); |
1295 | 1295 |
1296 vo_quartz_fs = 1; | 1296 vo_quartz_fs = 1; |
1297 } | 1297 } |