summaryrefslogtreecommitdiffstats
path: root/libvo/x11_common.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove now unused vo_calc_drwXY function.reimar2009-02-121-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28547 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add standard license headers, unify header formatting.diego2009-02-081-0/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28481 b3059339-0415-0410-9bf9-f77b7e298cf2
* Factor calc_drwXY out of vo_xv and vo_xvmc.cehoyos2009-01-091-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28285 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify vo_vm_switch and vo_vm_close, everyone was using the (almost) samereimar2008-11-151-2/+2
| | | | | | | boiler-plate code with them, just with different bugs. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27924 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics: remove useless "extern"reimar2008-11-151-33/+33
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27920 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace some of the different inconsistent XGetGeometry uses by areimar2008-11-151-0/+1
| | | | | | | vo_x11_update_geometry function. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27919 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move X11_FULLSCREEN definition to x11_common.h where it belongs.diego2008-10-161-0/+6
| | | | | | | config.h should only contain option definitions, no logic. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27784 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change a bunch of X11-specific preprocessor directives.diego2008-08-041-2/+2
| | | | | | | Switch from a HAVE_ prefix to a CONFIG_ prefix. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27409 b3059339-0415-0410-9bf9-f77b7e298cf2
* Enable runtime border/window decorations-toggling for Linux gl and gl2 vos.reimar2008-07-221-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27338 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add MPLAYER_ prefix to multiple inclusion guards.diego2008-02-221-4/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26061 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove pointless #ifdefs around extern declarations.diego2008-02-201-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26039 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add explanatory comments to the #endif part of multiple inclusion guards.diego2007-12-311-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25563 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make X11 window creation and (with -fixed-vo) management simpler and morereimar2007-06-271-0/+3
| | | | | | | | | 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
* "()" to "(void)" function param list fixesuau2007-04-011-2/+2
| | | | | | | patch from Stefan Huehner, stefan huehner org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22904 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove updating of vo_mouse_timer_const from the main loop and alsouau2006-04-251-1/+0
| | | | | | | | remove the variable itself. Convert code in x11_common.c and OSD timing that depended on the variable to use real time instead. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18288 b3059339-0415-0410-9bf9-f77b7e298cf2
* forgotten update_xinerama_info prototypesreimar2006-04-211-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18175 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix and improve xinerama supportreimar2006-04-161-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18117 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch by Stefan Huehner / stefan % huehner ! org \rathann2006-02-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | patch replaces '()' for the correct '(void)' in function declarations/prototypes which have no parameters. The '()' syntax tell thats there is a variable list of arguments, so that the compiler cannot check this. The extra CFLAG '-Wstrict-declarations' shows those cases. Comments about a similar patch applied to ffmpeg: That in C++ these mean the same, but in ANSI C the semantics are different; function() is an (obsolete) K&R C style forward declaration, it basically means that the function can have any number and any types of parameters, effectively completely preventing the compiler from doing any sort of type checking. -- Erik Slagter Defining functions with unspecified arguments is allowed but bad. With arguments unspecified the compiler can't report an error/warning if the function is called with incorrect arguments. -- Måns Rullgård git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17567 b3059339-0415-0410-9bf9-f77b7e298cf2
* Test if source image dimensions are too big.al2005-11-101-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16959 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove extern for variables that are already in headers.reimar2005-08-211-11/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16281 b3059339-0415-0410-9bf9-f77b7e298cf2
* added forgotten xv_enable_vsyncreimar2005-06-301-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15865 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix vo_xv_draw_colorkey to a workable stateiive2005-04-101-2/+1
| | | | | | | (using panscan makes x,y negative, so it is very bad idea they to be unsigned) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15101 b3059339-0415-0410-9bf9-f77b7e298cf2
* missing externs (fixes implicit declaration warnings)rathann2005-03-011-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14885 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unified colorkey code for vo xv and vo xvmc.al2005-02-201-0/+28
| | | | | | | | | | | | Made the code also more flexible. Colorkey drawing is now by default done as proposed by Marko Macek. Patch also approved by iive. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14743 b3059339-0415-0410-9bf9-f77b7e298cf2
* X11 headers must be included also when X11_FULLSCREEN is not defined (althoughreimar2005-02-061-2/+2
| | | | | | | it is not really beautiful that their are included here in the first place) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14664 b3059339-0415-0410-9bf9-f77b7e298cf2
* fullscreen fixes and GUI support for vo_glreimar2004-11-011-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13844 b3059339-0415-0410-9bf9-f77b7e298cf2
* now use vo_rootwin var to check for -rootwin switchnplourde2004-08-081-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12973 b3059339-0415-0410-9bf9-f77b7e298cf2
* Metacity fullscreen issues, patch by Alexander Strasser <eclipse7@gmx.net>,diego2004-06-021-0/+7
| | | | | | | approved by Attila. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12521 b3059339-0415-0410-9bf9-f77b7e298cf2
* runtime 'stay-on-top' functionalityjoey2003-11-301-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11543 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix for warning in some vo_*.cpl2003-09-121-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10855 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10000l. Never ever use such foolish GCC 3.x extensionscvs diff -u ↵alex2003-08-311-0/+5
| | | | | | x11_common.c x11_common.h |more git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10766 b3059339-0415-0410-9bf9-f77b7e298cf2
* move xv_set_eq to x11_commoniive2003-07-011-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10360 b3059339-0415-0410-9bf9-f77b7e298cf2
* - support command line parameter -fstype, eg. -fstype layer=12,above,fullscreenfilon2003-02-071-9/+10
| | | | | | | | | | | | - help (-fstype help) also availabible - support state BELOW (someone may want to use it...) and by -fstype none forcing of not changing window layer (user request) - drop icelayer option, it can be set by -fstype layer=<number> - simplify vo_x11_fullscreen - fs change code cleanup git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9318 b3059339-0415-0410-9bf9-f77b7e298cf2
* - sync with x11_commonpontscho2003-01-091-1/+16
| | | | | | | - half rewrited font render engine (disabled by default) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8865 b3059339-0415-0410-9bf9-f77b7e298cf2
* here is a somewhat generic equalizer implementation for the X11 vo driversarpi2002-10-291-0/+3
| | | | | | | | | | using the window's colormap (DirectColor). this method is using the video card's hardware gamma ramp so it involves no performance penalties at all. patch by lucho <lucho@haemimont.bg> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7965 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add the code that chooses a good X11 truecolor visual to the vo_x11 config()jkeil2002-09-031-0/+2
| | | | | | | | | | function. This is useful for framebuffers on Sun hardware, where we have multiple truecolor visuals of different depths available, and the root window typically runs at depth 8, yet there are 24 bit true color visuals available as well. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7257 b3059339-0415-0410-9bf9-f77b7e298cf2
* ignore BadAccess error at XSelectInput() (grabbing mouse etc) with warningarpi2002-08-091-0/+1
| | | | | | | patch Kazunori Ueno <jagarl@creator.club.ne.jp> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6954 b3059339-0415-0410-9bf9-f77b7e298cf2
* Aii 10l forgot to commit with my last x11_common.c commitatmos42002-06-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6407 b3059339-0415-0410-9bf9-f77b7e298cf2
* some cleanup, gl/gl2 updated to use vo_windowarpi2002-05-141-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6096 b3059339-0415-0410-9bf9-f77b7e298cf2
* some bugfix, x[11|mga|v] ( fullscreen with more files )pontscho2002-05-081-7/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6014 b3059339-0415-0410-9bf9-f77b7e298cf2
* upsz, 10lpontscho2002-05-061-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5999 b3059339-0415-0410-9bf9-f77b7e298cf2
* add WM detection, and wm specific fullscreen code. (???)pontscho2002-05-061-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5998 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix xmga fs, resize to movie size and mouse auto hide + dgapontscho2002-05-031-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5956 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix fullscreen (?)pontscho2002-04-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5836 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix playlist bug with gui and rewrite mousecursor show/hide codepontscho2002-04-161-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5652 b3059339-0415-0410-9bf9-f77b7e298cf2
* small changes in libvo's X11 supportpontscho2002-03-081-2/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4994 b3059339-0415-0410-9bf9-f77b7e298cf2
* rewrite fullscreen support in some libvo driverpontscho2002-03-071-0/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4982 b3059339-0415-0410-9bf9-f77b7e298cf2
* small changespontscho2002-02-211-6/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4796 b3059339-0415-0410-9bf9-f77b7e298cf2
* common -vm code, patch by Santi Béjar <tiarda@yahoo.es>arpi2002-01-311-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4426 b3059339-0415-0410-9bf9-f77b7e298cf2
* xinerama fix by attilaatmos42002-01-051-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3991 b3059339-0415-0410-9bf9-f77b7e298cf2
* WinID cleanup, support for Xvarpi2001-12-281-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3831 b3059339-0415-0410-9bf9-f77b7e298cf2
* printf-gcc3 patch, x11-commons mRootwinsven2001-10-241-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2456 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix size ?pontscho2001-08-311-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1812 b3059339-0415-0410-9bf9-f77b7e298cf2
* add half gui supportpontscho2001-08-291-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1747 b3059339-0415-0410-9bf9-f77b7e298cf2
* GUI stuff. now seeking works, and xmga renders to video windowarpi2001-08-271-4/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1724 b3059339-0415-0410-9bf9-f77b7e298cf2
* patch: some X11 compliance fixed: set ClassHint and better fullscreen modearpi_esp2001-06-171-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1138 b3059339-0415-0410-9bf9-f77b7e298cf2
* Centralized and cleaned up X11 connecting, fixed remote X11 playing, ↵lgb2001-05-311-0/+6
| | | | | | -display option for mplayer. SHOULD BE TESTED. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@923 b3059339-0415-0410-9bf9-f77b7e298cf2
* add gui supportpontscho2001-05-081-0/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@724 b3059339-0415-0410-9bf9-f77b7e298cf2
* include dpms.h moved to x11_common.carpi_esp2001-04-141-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@403 b3059339-0415-0410-9bf9-f77b7e298cf2
* Autohide X11 cursorlgb2001-04-131-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@385 b3059339-0415-0410-9bf9-f77b7e298cf2
* Szebb es jobb screensaver-kikapcsolo reszlaaz2001-04-101-1/+3
| | | | | | | xmga, xv, x11 support (sdl comming soon) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@325 b3059339-0415-0410-9bf9-f77b7e298cf2
* the common x11 stuffarpi_esp2001-03-031-0/+15
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33 b3059339-0415-0410-9bf9-f77b7e298cf2