summaryrefslogtreecommitdiffstats
path: root/libvo/x11_common.c
Commit message (Collapse)AuthorAgeFilesLines
* Slightly reduce unnecessary verbosity.diego2005-08-241-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16302 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove extern for variables that are already in headers.reimar2005-08-211-5/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16281 b3059339-0415-0410-9bf9-f77b7e298cf2
* Try to set XV_SYNC_TO_VBLANK to enable vsync on non-overlay xv adapters.reimar2005-06-271-0/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15827 b3059339-0415-0410-9bf9-f77b7e298cf2
* adds some more -identify output, patch by kiriuja < mplayer DASH patches PAM ↵gpoirier2005-06-201-0/+2
| | | | | | en DASH directo POUM net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15790 b3059339-0415-0410-9bf9-f77b7e298cf2
* helper functions for comparing strarg_t "strings".reimar2005-06-161-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15735 b3059339-0415-0410-9bf9-f77b7e298cf2
* - fix black screen problem on reinital2005-04-161-1/+9
| | | | | | | - disable colorkey autopainting when painting it manually git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15187 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix vo_xv_draw_colorkey to a workable stateiive2005-04-101-10/+12
| | | | | | | (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
* We should not crash, only because we couldn't hide the cursor.al2005-02-201-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14744 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unified colorkey code for vo xv and vo xvmc.al2005-02-201-0/+311
| | | | | | | | | | | | 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
* Separate XF86 video mode extension check from XF86 keysym check asdiego2005-02-021-0/+3
| | | | | | | | XFree 3.x does not have the latter. based on a patch by Trent Piepho <xyzzy at speakeasy dot org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14637 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix ontop for some WMs that lose ontop state after fullscreen event.al2004-12-271-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14245 b3059339-0415-0410-9bf9-f77b7e298cf2
* added -wid support for vo_directx.joey2004-12-211-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14208 b3059339-0415-0410-9bf9-f77b7e298cf2
* The GUI shouldn't handle key events at two places.al2004-11-211-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14002 b3059339-0415-0410-9bf9-f77b7e298cf2
* 3 memory leaks fixediive2004-11-151-0/+1
| | | | | | | Xlib funtions allocate memory that should be freed appropriately git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13954 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reduce excessive verbosity.diego2004-11-151-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13947 b3059339-0415-0410-9bf9-f77b7e298cf2
* keep screensaver off when playing multiple files.reimar2004-11-141-0/+3
| | | | | | | patch by rgselknospam (at) yahoo [dot] com. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13936 b3059339-0415-0410-9bf9-f77b7e298cf2
* more fullscreen fixes and gl2 uses setGlWindow.reimar2004-11-041-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13872 b3059339-0415-0410-9bf9-f77b7e298cf2
* fullscreen fixes and GUI support for vo_glreimar2004-11-011-0/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13844 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix erroneus extern declarations, fix wrong signedness of some varsatmos42004-10-311-5/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13829 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle "xxx.h" vs "../xxx.h" include paths in a consistent way.diego2004-10-281-6/+6
| | | | | | | Based on a patch by Sebastian Hegler <s_hegler at gmx dot de>. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13788 b3059339-0415-0410-9bf9-f77b7e298cf2
* now use vo_rootwin var to check for -rootwin switchnplourde2004-08-081-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12973 b3059339-0415-0410-9bf9-f77b7e298cf2
* Indentation fix from previous patch, as discussed on IRC.rtognimp2004-07-111-25/+25
| | | | | | | Patch by Alexander Strasser git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12799 b3059339-0415-0410-9bf9-f77b7e298cf2
* This fixes the problems that originated from my ewmhrtognimp2004-07-111-6/+15
| | | | | | | | | fs patch, caused by a different handling of the wm's ewmh fs implementations. Patch by Alexander Strasser git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12797 b3059339-0415-0410-9bf9-f77b7e298cf2
* major reindentation of x11 code try #2attila2004-06-141-1267/+1689
| | | | | | | | | | | | | | note that this is plain ident output, i didnt tweak it by hand like the last attempt. if anyone is interested in the indent profile i used, just drop me a mail. please contact me on irc on how to send me my share of cola, but be aware that i will only accept swiss or german cola, as the japanese is way to sweet :) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12583 b3059339-0415-0410-9bf9-f77b7e298cf2
* Metacity fullscreen issues, patch by Alexander Strasser <eclipse7@gmx.net>,diego2004-06-021-0/+47
| | | | | | | approved by Attila. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12521 b3059339-0415-0410-9bf9-f77b7e298cf2
* keepaspect and nokeepaspect are now useable by all vosfaust32004-05-011-3/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12372 b3059339-0415-0410-9bf9-f77b7e298cf2
* full screen flipping synchronization corrections (by Adam Tla/lka)rathann2004-04-051-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12126 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unmap window before change in decor and size while flipping full screen mode ↵rathann2004-04-051-3/+4
| | | | | | | | | (by Adam Tla/lka) (reversed and recommited without cosmetics by me) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12124 b3059339-0415-0410-9bf9-f77b7e298cf2
* move window decor changes after setting Withdrawn state so we have no ↵rathann2004-04-031-3/+4
| | | | | | | | | additionalwindow refresh (by Adam Tla/lka) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12113 b3059339-0415-0410-9bf9-f77b7e298cf2
* - win_gravity memorizing and restoring while switching fullscreen mode (by ↵rathann2004-04-031-0/+14
| | | | | | | | | Adam Tla/lka) - recommited without cosmetic changes (by me) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12112 b3059339-0415-0410-9bf9-f77b7e298cf2
* ALSA syc is not so good as OSS - small correctionsatlka2004-04-011-11/+21
| | | | | | | | added Motif hints memorizing before switching to full screen because WM can modify decorations of the app window git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12097 b3059339-0415-0410-9bf9-f77b7e298cf2
* Don't mess with the window position in xinerama when -geometry changes it.diego2004-03-161-1/+2
| | | | | | | (Attila Kinali) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12033 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use system clock for xscreensaver pings (Tobias Diedrich).diego2004-03-161-3/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12032 b3059339-0415-0410-9bf9-f77b7e298cf2
* set min width/heightattila2004-02-241-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11996 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support binding F11 and F12 keys to commands.diego2004-01-161-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11794 b3059339-0415-0410-9bf9-f77b7e298cf2
* prevent possible segfault when vidmodes is freed and config() calls vo_vm_switchattila2003-12-081-0/+1
| | | | | | | | again. Found by Peter Kosinar <goober@ksp.sk> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11580 b3059339-0415-0410-9bf9-f77b7e298cf2
* runtime 'stay-on-top' functionalityjoey2003-11-301-0/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11543 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get more keys from X window (punctuation, etc.) Hopefully, all alnum keyslumag2003-09-241-0/+29
| | | | | | | will work now. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10937 b3059339-0415-0410-9bf9-f77b7e298cf2
* prevent crashes with vo_sdlhenry2003-09-211-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10921 b3059339-0415-0410-9bf9-f77b7e298cf2
* dont fix things at the wrong placeattila2003-09-211-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10906 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix aspect for gl2 fullscreenattila2003-09-201-0/+2
| | | | | | | patch by Tristan Seligmann <mithrandi-mplayer-dev-eng@mithrandi.za.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10890 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixed double free of data. Patch by Dima K. <dimakar@yahoo.com>mosu2003-09-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10795 b3059339-0415-0410-9bf9-f77b7e298cf2
* -nomouseinput support for vo_sdlalex2003-09-011-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10786 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10000l. Never ever use such foolish GCC 3.x extensionscvs diff -u ↵alex2003-08-311-14/+15
| | | | | | x11_common.c x11_common.h |more git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10766 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid flickering during resizes. Keep video contents even when paused. Fix ↵mosu2003-08-311-0/+62
| | | | | | by Tomas Simonaitis <haden@homelan.lt> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10758 b3059339-0415-0410-9bf9-f77b7e298cf2
* Recieving of mouse events can be switched off. Patch by Markus Rechberger ↵alex2003-08-311-1/+6
| | | | | | <mrechberger@web.de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10755 b3059339-0415-0410-9bf9-f77b7e298cf2
* Commit alex's fstype patch x11_common.c3.diff with additional manpage extension.attila2003-08-251-15/+74
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10696 b3059339-0415-0410-9bf9-f77b7e298cf2
* moved lot of global variables into static ones (and some minor spelling fixes)alex2003-08-121-28/+28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10588 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l (and fixes some wmaker issues)alex2003-08-111-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10571 b3059339-0415-0410-9bf9-f77b7e298cf2
* move xv_set_eq to x11_commoniive2003-07-011-0/+138
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10360 b3059339-0415-0410-9bf9-f77b7e298cf2
* small warning fixrathann2003-06-191-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10312 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes by Dominik Mierzejewski <dominik@rangers.eu.org>alex2003-05-301-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10213 b3059339-0415-0410-9bf9-f77b7e298cf2
* From: Michael Joosten <joost@c-lab.de>pontscho2003-05-261-1/+1
| | | | | | | PATCH: fullscreen issues with GUI, WM layers, gmplayer plays first file always twice git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10194 b3059339-0415-0410-9bf9-f77b7e298cf2
* keypad and function (f1-f10) suppport (currently only vo_sdl and the ↵alex2003-04-091-0/+33
| | | | | | terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9892 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support for "internet" or "multimedia" keyboards in X11.albeu2003-04-041-0/+17
| | | | | | | Patch from Jason Tackaberry <tack at auc dot ca>. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9823 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improved xscreensaver support.ranma2003-03-261-11/+116
| | | | | | | | With this we no longer have to kill xscreensaver, but just send it a message periodically. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9696 b3059339-0415-0410-9bf9-f77b7e298cf2
* - fix detetcion of metacity (sawfish 1.0 will be no longer treated as metacity)filon2003-02-101-3/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9385 b3059339-0415-0410-9bf9-f77b7e298cf2
* linux->osdeparpi2003-02-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9381 b3059339-0415-0410-9bf9-f77b7e298cf2
* Document -fstype in manpage.filon2003-02-081-9/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9339 b3059339-0415-0410-9bf9-f77b7e298cf2
* - support command line parameter -fstype, eg. -fstype layer=12,above,fullscreenfilon2003-02-071-81/+116
| | | | | | | | | | | | - 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
* compiler warning fixes patch by Dominik Mierzejewski <dominik@rangers.eu.org>arpi2003-02-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9218 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remember window layer befor changing it.filon2003-01-091-1/+25
| | | | | | | Works on icemw and fvwm, but not on windowmaker (bug in wmaker...). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8867 b3059339-0415-0410-9bf9-f77b7e298cf2
* - sync with x11_commonpontscho2003-01-091-11/+8
| | | | | | | - half rewrited font render engine (disabled by default) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8865 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixed metacity + xv behavior (something broke it lately).filon2003-01-071-11/+21
| | | | | | | | Fixed sawfish bahavior in gmplayer: use ABOVE, FULLSCREEN is last choice. Now mplayer window is visible over the video window. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8836 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added missing spaces around found atom name.filon2003-01-041-9/+1
| | | | | | | Removed varaibles which last patch made unused (forgot to do it before). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8784 b3059339-0415-0410-9bf9-f77b7e298cf2
* really not neededfilon2003-01-041-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8754 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1larpi2003-01-031-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8753 b3059339-0415-0410-9bf9-f77b7e298cf2
* More fullscreen cleanup work. Use nice macros for X atoms.filon2003-01-031-27/+60
| | | | | | | | Remove (added by me before) checking wem type at each fullscreen mode change. It doesn't help at all in case of window manager change. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8743 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix bitmap leak pointed out by Pierre-Paul Lavoie <ppl@nbnet.nb.ca>attila2003-01-021-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8717 b3059339-0415-0410-9bf9-f77b7e298cf2
* sending 10l to Filipattila2003-01-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8695 b3059339-0415-0410-9bf9-f77b7e298cf2
* - reverting icewm hack (i have used broken icewm, regular one is working)filon2003-01-011-14/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8694 b3059339-0415-0410-9bf9-f77b7e298cf2
* X11 window aspect patch by Arnaud Boulan <boulan@iie.cnam.fr>attila2003-01-011-0/+10
| | | | | | | | adds 2 options: -keepaspect (default) and -nokeepaspect tested with icewm and enlightenment git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8693 b3059339-0415-0410-9bf9-f77b7e298cf2
* I have just installed IceWM 1.2.3 which supports NetWM and has brokenarpi2002-12-311-6/+28
| | | | | | | | | | | | | | | | | | support for resizing. To maximize window we need to use _NET_WM_STATE_FULLSCREEN, but it doesn't tell use that it supports it. New IceWM also doesn't support layers in fullscreen mode, changing it doesn't change window position (again, "-icelayer" doesn't fit well). Also while fixing fvwm metacity got broken again, so there is a new hack or it, and small fix in code for openbox. Now it should work on almost everything. Filip Kalinski <filon@pld.org.pl> git-svn-i