aboutsummaryrefslogtreecommitdiffhomepage
path: root/libvo/x11_common.c
Commit message (Collapse)AuthorAge
* Move mRootWin,mScreen,mLocalDisplay to x11 structGravatar Uoti Urpala2008-04-23
|
* Move vo_mouse_autohide,vo_wm_type,vo_fs_type,vo_fs_flip to x11 structGravatar Uoti Urpala2008-04-23
|
* x11_common: Move vo_old_[x|y|width|height| to x11 structGravatar Uoti Urpala2008-04-23
|
* x11_common.c: Move orig_layer and old_gravity to x11 structGravatar Uoti Urpala2008-04-23
|
* Move static mouse hide timers to x11 structGravatar Uoti Urpala2008-04-23
|
* Move vo_gc,f_gc,vo_hints to x11 structGravatar Uoti Urpala2008-04-23
|
* x11_common.c: Move function-static variables to structGravatar Uoti Urpala2008-04-23
|
* Mark a table constGravatar Uoti Urpala2008-04-23
|
* Move xv_port,xv_colorkey,xv_ck_info to x11 structGravatar Uoti Urpala2008-04-23
|
* Move vo_window to x11 structGravatar Uoti Urpala2008-04-23
|
* Move static X11 atoms to structGravatar Uoti Urpala2008-04-23
|
* Move vo_screenwidth,vo_screenheight to options structGravatar Uoti Urpala2008-04-23
|
* Move vo_depthonscreen to x11 structGravatar Uoti Urpala2008-04-23
|
* Move vo_dx,vo_dy,vo_dwidth,vo_dheight to vo structGravatar Uoti Urpala2008-04-23
|
* Move global mDisplay to x11 state structGravatar Uoti Urpala2008-04-23
|
* Create a struct for X11 stateGravatar Uoti Urpala2008-04-23
| | | | | | | | Will be used for common data between X11 VOs. The main reasons for making it a separate struct rather than extra fields in the main VO struct are that some field definitions need X headers and that the code keeps basic X state such as the display connection over opening and closing of individual VOs.
* x11_common.c: Make some functions staticGravatar Uoti Urpala2008-04-23
|
* Move vo_ontop to options structGravatar Uoti Urpala2008-04-23
| | | | | | | | | | | Add a 'struct vo *vo' argument to the x11_common.c functions that access the variable so it's available as vo->opts->vo_ontop. To keep VOs using the old API working create a global vo variable that is set to the currently used old vo. "vo_ontop" will be #defined to "global_vo->opts->vo_ontop", and x11_common.h will add defines like the following when it is included by old VOs: #define vo_x11_ontop() vo_x11_ontop(global_vo) so that they will call the function according to the new declaration.
* revert commits 26437-26439Gravatar attila2008-04-19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26468 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: fix indentationGravatar attila2008-04-13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26439 b3059339-0415-0410-9bf9-f77b7e298cf2
* move the #ifdef HAVE_XINERAMA to enclose the whole functionGravatar attila2008-04-13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26438 b3059339-0415-0410-9bf9-f77b7e298cf2
* Always calculate the xinerama screen mplayer is on.Gravatar attila2008-04-13
| | | | | | | | Bug reported by thomas.lindroth(<at>)gmail.com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26437 b3059339-0415-0410-9bf9-f77b7e298cf2
* typo fix: inited --> initializedGravatar diego2008-02-14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25994 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use a transform_color function to reduce code duplicationGravatar reimar2008-01-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25702 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unnecessary <signal.h> includesGravatar uau2008-01-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25654 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove some now unused screensaver stuff code.Gravatar reimar2008-01-07
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25638 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove most of the messy screensaver code in favour of only XResetScreenSaverGravatar reimar2008-01-07
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25637 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use a screensaver_off variable to save current state and avoidGravatar reimar2008-01-07
| | | | | | | | uselessly disabling twice. Also needed for a future patch. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25636 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing X11/extensions/scrnsaver.h includeGravatar reimar2007-12-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25510 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for XScreenSaverSuspendGravatar reimar2007-12-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25494 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move more variables into the block where they are usedGravatar reimar2007-12-20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25476 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move a variable to where it is usedGravatar reimar2007-12-20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25475 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove some pointless 'inline' qualifiersGravatar uau2007-11-01
| | | | | | | Most of these functions aren't even used in the same translation unit. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24918 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allow XF86AudioLowerVolume/XF86AudioRaiseVolume keys to be handled by MPlayer.Gravatar diego2007-09-05
| | | | | | | patch by Michael Mauch, michael.mauch gmx de git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24343 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove checks that in the worst case will completely break fullscreenGravatar reimar2007-09-03
| | | | | | | | switching. If they are needed for something they must be done in a more robust way. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24333 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make sure aspect hint is adjusted on aspect changeGravatar reimar2007-09-03
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24332 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics: set vo_hint.flags at more consistent places (directly beforeGravatar reimar2007-09-02
| | | | | | | setting the corresponding values) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24331 b3059339-0415-0410-9bf9-f77b7e298cf2
* make sure update_xinerama_info is always called even when using theGravatar reimar2007-07-28
| | | | | | | window-manager fullscreen hint, so that vo_screenwidth/height are right. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23895 b3059339-0415-0410-9bf9-f77b7e298cf2
* document "default" behaviour if CopyFromParent is passed as colormapGravatar attila2007-07-22
| | | | | | | to vo_x11_create_vo_window() git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23843 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix vo_x11_clearwindow_part: x position is one less to avoid not clearingGravatar reimar2007-06-27
| | | | | | | | a line in case of rounding error, so width must be one larger, too. y-case is already correct. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23680 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make X11 window creation and (with -fixed-vo) management simpler and moreGravatar reimar2007-06-27
| | | | | | | | | consistent by introducing a new function that handles most of the ugly things. Changes of behaviour with some vos is unavoidable, bug reports welcome. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23675 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing return value for x11 error handlerGravatar reimar2007-06-24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23635 b3059339-0415-0410-9bf9-f77b7e298cf2
* Gui --> guiGravatar diego2007-04-23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23095 b3059339-0415-0410-9bf9-f77b7e298cf2
* "()" to "(void)" function param list fixesGravatar uau2007-04-01
| | | | | | | patch from Stefan Huehner, stefan huehner org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22904 b3059339-0415-0410-9bf9-f77b7e298cf2
* Code cleanup: don't include a .c file in mplayer.c and fix a fewGravatar rathann2007-03-29
| | | | | | | | | | | "implicit declaration of function ‘mplayer_put_key’" warnings Based on Attila's suggestions. Approved by Uoti and Ivan. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22841 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move code to ignore mouse wheel "down" events to fifo.c (needed becauseGravatar reimar2007-01-21
| | | | | | | they too easily cause those "buttons" to get stuck), reducing code duplication. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21982 b3059339-0415-0410-9bf9-f77b7e298cf2
* grammar/spelling/wording in commentsGravatar diego2007-01-18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21956 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not abort on X11 errors, most are not at all fatal.Gravatar reimar2007-01-05
| | | | | | | Makes -vo x11 work over non-trusted ssh X11 forwarding. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21826 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of completely useless includes that in addition hinder compilationGravatar reimar2006-12-16
| | | | | | | on MinGW git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21639 b3059339-0415-0410-9bf9-f77b7e298cf2
* report to mplayer with a slave command the coordinates of the pointer ↵Gravatar nicodvb2006-09-16
| | | | | | reported by x11; rescale coordinates to [0,1]x[0,1] range - patch by Jonas Jermann and me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19856 b3059339-0415-0410-9bf9-f77b7e298cf2