Changeset 55e7393cfee2476b26f110101da6827bdfa5a613
- Timestamp:
- 05/10/08 14:16:53
(6 days ago)
- Author:
- Rafaël Carré <funman@videolan.org>
- git-committer:
- Rafaël Carré <funman@videolan.org> 1210421813 +0200
- git-parent:
[feb459c350f87a6dc63e50193a6be6a877b5f24d]
- git-author:
- Rafaël Carré <funman@videolan.org> 1210421813 +0200
- Message:
Disable video-on-top while in fullscreen
Really close #1227
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rb82f84b |
r55e7393 |
|
| 528 | 528 | val.b_bool = p_vout->b_fullscreen; |
|---|
| 529 | 529 | var_Set( p_vout, "fullscreen", val ); |
|---|
| | 530 | |
|---|
| | 531 | /* Disable video-on-top while in fullscreen mode */ |
|---|
| | 532 | if( var_GetBool( p_vout, "video-on-top" ) ) |
|---|
| | 533 | ControlParentWindow( p_vout, VOUT_SET_STAY_ON_TOP, !val.b_bool ); |
|---|
| 530 | 534 | |
|---|
| 531 | 535 | p_vout->i_changes &= ~VOUT_FULLSCREEN_CHANGE; |
|---|
| r68733f6 |
r55e7393 |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * Copyright (C) 2001-2004 the VideoLAN team |
|---|
| 5 | | * $Id$ |
|---|
| | 5 | * $Id: c7fe3e9667dbb25d2b5e84557dad373d0bb754ab $ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Authors: Gildas Bazin <gbazin@videolan.org> |
|---|
| … | … | |
| 714 | 714 | val.b_bool = p_vout->b_fullscreen; |
|---|
| 715 | 715 | var_Set( p_vout, "fullscreen", val ); |
|---|
| | 716 | |
|---|
| | 717 | /* Disable video-on-top while in fullscreen mode */ |
|---|
| | 718 | if( var_GetBool( p_vout, "video-on-top" ) ) |
|---|
| | 719 | ControlParentWindow( p_vout, VOUT_SET_STAY_ON_TOP, !val.b_bool ); |
|---|
| 716 | 720 | |
|---|
| 717 | 721 | p_vout->i_changes &= ~VOUT_FULLSCREEN_CHANGE; |
|---|
| r64a70a8 |
r55e7393 |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * Copyright (C) 2001-2004 the VideoLAN team |
|---|
| 5 | | * $Id$ |
|---|
| | 5 | * $Id: 413950d2dad41d48d5b411aa8cdfb7b35f88033b $ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Authors: Gildas Bazin <gbazin@videolan.org> |
|---|
| … | … | |
| 407 | 407 | var_Set( p_vout, "fullscreen", val ); |
|---|
| 408 | 408 | |
|---|
| | 409 | /* Disable video-on-top while in fullscreen mode */ |
|---|
| | 410 | if( var_GetBool( p_vout, "video-on-top" ) ) |
|---|
| | 411 | ControlParentWindow( p_vout, VOUT_SET_STAY_ON_TOP, !val.b_bool ); |
|---|
| | 412 | |
|---|
| 409 | 413 | p_vout->i_changes &= ~VOUT_FULLSCREEN_CHANGE; |
|---|
| 410 | 414 | p_vout->p_sys->i_changes &= ~VOUT_FULLSCREEN_CHANGE; |
|---|
| r6a39fbb |
r55e7393 |
|
| 908 | 908 | * be the correct one. |
|---|
| 909 | 909 | */ |
|---|
| | 910 | if( var_GetBool( p_vout, "video-on-top" ) ) |
|---|
| | 911 | WindowOnTop( p_vout, !val.b_bool ); |
|---|
| | 912 | |
|---|
| 910 | 913 | #ifdef MODULE_NAME_IS_xvmc |
|---|
| 911 | 914 | xvmc_context_reader_unlock( &p_vout->p_sys->xvmc_lock ); |
|---|