summaryrefslogtreecommitdiffstats
path: root/libvo/x11_common.c
Commit message (Collapse)AuthorAgeFilesLines
* 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-id: svn://svn.mplayerhq.hu/mplayer/trunk@8677 b3059339-0415-0410-9bf9-f77b7e298cf2
* This time the patch is fixing much more that breaking :-)arpi2002-12-301-12/+31
| | | | | | | | | | | | | | | It includes ugly hack for OpenBox, swaps checking for netwm with layers (and makes fvwm work -> they have also broken _NET_WM_STATE_FULLSCREEN but also supports layers) and changes back fullscreen layer to 10, afterstep doesn't like 12 :-) Tested with: sawfish, metacity, kwin, blackbox, openbox, waimea, windowmaker, afterstep, icewm, mwm, fvwm Filip Kalinski <filon@pld.org.pl> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8670 b3059339-0415-0410-9bf9-f77b7e298cf2
* 2*10l :)arpi2002-12-301-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8664 b3059339-0415-0410-9bf9-f77b7e298cf2
* I have looked at the fullscreen code and realized that there arearpi2002-12-301-107/+36
| | | | | | | | | | | | | | | | | | | generally two types of layer support for window managers: - NetWM states (FULLSCREEN, STAYS_ON_TOP, ABOVE) sawfish, metacity, kwin - _WIN_LAYER IceWM, WindowMaker So we don't need any other window manager detection functions, we need only to check for these two. Code tested on lots of windowmanagers. patch by Filip Kalinski <filon@pld.org.pl> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8661 b3059339-0415-0410-9bf9-f77b7e298cf2
* NetWM fs. switching cleanuparpi2002-12-301-43/+52
| | | | | | | patch by Filip Kalinski <filon@pld.org.pl> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8654 b3059339-0415-0410-9bf9-f77b7e298cf2
* That patch fixes fullscreen on sawfish 1.2.arpi2002-12-291-0/+23
| | | | | | | | | | | | | | | | | | | After applying fullscreen (x11, xv +/- gui) works with at least: - sawfish 1.2 - metacity - kwin - wmaker - balckbox - waimea - icewm, so I think it doesn't break anything. Filip Kalinski <filon@pld.org.pl> NOTE: we can still reverse it :))) --A'rpi git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8646 b3059339-0415-0410-9bf9-f77b7e298cf2
* memory leakhenry2002-12-141-1/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8447 b3059339-0415-0410-9bf9-f77b7e298cf2
* use more methods to get the fs window on tophenry2002-12-141-5/+24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8446 b3059339-0415-0410-9bf9-f77b7e298cf2
* fullscreen fix for KDE (reported to work with gnome 1/2 too)arpi2002-12-081-1/+2
| | | | | | | patch by "Puk Madick" <pingy@swirvemail.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8411 b3059339-0415-0410-9bf9-f77b7e298cf2
* The detection of a NetWM class window manager hints is tested beforearpi2002-12-071-30/+24
| | | | | | | | | | | | | | the test of a gnome class windomanager hints, since the gnome hints are outdated and replaced by the newer NetWM specification. Newer versions of Gnome support this standard, and therefore the test should be placed before the Gnome test. Windowmaker does not support NetWM and is checked after the NetWM test. In fact the new code should be placed also before the test for IceWM. Regarding other WMs such as KDE, IceWM the change is not tested. patch by Svante Signell <svante.signell@telia.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8389 b3059339-0415-0410-9bf9-f77b7e298cf2
* This patch fixes the screensaver issues in mplayer. It will correctly readarpi2002-12-041-1/+18
| | | | | | | | | | and store the state of XScreensaver and KDE-Screensaver, will stop them and restart them later, when the movie has finished ... It works and was tested with KDE2/3 and XScreensaver 4.05. patch by Fabian Franz <FabianFranz@gmx.de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8355 b3059339-0415-0410-9bf9-f77b7e298cf2
* The OSD menus need more keysalbeu2002-11-161-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8216 b3059339-0415-0410-9bf9-f77b7e298cf2
* reversed wm order in vo_x11_setlayer + even upper layer for GNOME compliant wm'shenry2002-11-111-24/+25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8148 b3059339-0415-0410-9bf9-f77b7e298cf2
* *HUGE* set of compiler warning fixes, unused variables removalarpi2002-11-061-0/+1
| | | | | | | based on patch by Dominik Mierzejewski <dominik@rangers.eu.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8124 b3059339-0415-0410-9bf9-f77b7e298cf2
* yet another screensaver fixhenry2002-11-041-5/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8098 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix by Pontschonexus2002-11-031-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8087 b3059339-0415-0410-9bf9-f77b7e298cf2
* verbose can be negativearpi2002-11-011-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8028 b3059339-0415-0410-9bf9-f77b7e298cf2
* here is a somewhat generic equalizer implementation for the X11 vo driversarpi2002-10-291-0/+133
| | | | | | | | | | 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
* fix memleak againpontscho2002-10-161-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7767 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l to Dominik - casting at wrong placearpi2002-10-161-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7748 b3059339-0415-0410-9bf9-f77b7e298cf2
* compiler warning fixesarpi2002-10-131-1/+1
| | | | | | | patch by Dominik Mierzejewski <dominik@rangers.eu.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7732 b3059339-0415-0410-9bf9-f77b7e298cf2
* mayeb fixed dpms/screensaver issuesarpi2002-10-061-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7634 b3059339-0415-0410-9bf9-f77b7e298cf2
* _NET_WM_FULLSCREEN supportpontscho2002-10-011-2/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7573 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix kde 3.1 fullscreen issues, closes my latest bugreport on that issue.atmos42002-09-291-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7545 b3059339-0415-0410-9bf9-f77b7e298cf2
* fullscreen fixes, based on mail by Havoc Pennington <hp@redhat.com>arpi2002-09-281-2/+4
| | | | | | | | | | | | | | | | - it should not set _NET_WM_STATE_STAYS_ON_TOP, this hint does not exist in the spec (http://www.freedesktop.org/standards/wm-spec/1.2/html/x224.html) and _NET_WM_STATE_FULLSCREEN already implies "on top" so there's no need to set this. it should set _NET_WM_STATE_FULLSCREEN instead, I don't currently see code to set _NET_WM_STATE_FULLSCREEN - the XUnmapWindow() after sending the client message is officially speaking breaking the spec, should be XWithdrawWindow(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7543 b3059339-0415-0410-9bf9-f77b7e298cf2
* Modern versions of OpenSSH listen on localhost to forward the X11 connectionarpi2002-09-231-1/+1
| | | | | | | | | | | | (X11UseLocalhost defaults to yes). The following patch permits to consider as non local any DISPLAY environment which port is greater or equal to 10 else mplayer tries a local optimization on a distant X server which doesn't work. patch by Denis.Ducamp@groar.org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7493 b3059339-0415-0410-9bf9-f77b7e298cf2
* d_width==screenwidth && -fs hopefully fixedarpi2002-09-181-9/+24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7436 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add the code that chooses a good X11 truecolor visual to the vo_x11 config()jkeil2002-09-031-61/+51
| | | | | | | | | | 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
* removed old input codealex2002-08-281-4/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7112 b3059339-0415-0410-9bf9-f77b7e298cf2
* this piece of code should prevent major fullscreen screwups, which canarpi2002-08-211-0/+5
| | | | | | | | | be otherwise triggered by rapid switching to fullscreen and back. patch by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7058 b3059339-0415-0410-9bf9-f77b7e298cf2
* ignore BadAccess error at XSelectInput() (grabbing mouse etc) with warningarpi2002-08-091-0/+28
| | | | | | | patch Kazunori Ueno <jagarl@creator.club.ne.jp> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6954 b3059339-0415-0410-9bf9-f77b7e298cf2
* Michele Balistreri <brain87@gmx.net>:atmos42002-06-121-0/+4
| | | | | | | | | | | | This patch makes MPlayer more NetWM compliant, setting the pid of the application as a property of the window. It helps the applications trying to swallow mplayer (e.g. a browser plugin). Me: Various warning/compile fixes. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6402 b3059339-0415-0410-9bf9-f77b7e298cf2
* xinerama fullscreen switching fix by Joachim Breitner <mail@joachim-breitner.de>attila2002-06-081-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6343 b3059339-0415-0410-9bf9-f77b7e298cf2
* Activating/Deactivating of XScreenSaverarpi2002-