summaryrefslogtreecommitdiffstats
path: root/libvo/x11_common.c
Commit message (Collapse)AuthorAgeFilesLines
* 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-06-041-0/+6
| | | | | | | patch by Joachim Breitner <mail@joachim-breitner.de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6304 b3059339-0415-0410-9bf9-f77b7e298cf2
* msg/i18n fixes and some printf->mp_msgarpi2002-06-031-24/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6297 b3059339-0415-0410-9bf9-f77b7e298cf2
* new layer handling code under icewm from Attilapontscho2002-05-271-9/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6203 b3059339-0415-0410-9bf9-f77b7e298cf2
* Let X destroy the windowalbeu2002-05-241-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6180 b3059339-0415-0410-9bf9-f77b7e298cf2
* applied 64bit patch from Ulrich Hecht <uli at suse dot de>alex2002-05-231-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6165 b3059339-0415-0410-9bf9-f77b7e298cf2
* 64bit incompatibility bug, patch by Artur Grabowski <art@blahonga.org>arpi2002-05-201-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6141 b3059339-0415-0410-9bf9-f77b7e298cf2
* Workaround the bug in x11 vo's (if it's one) wich let a window in the wayalbeu2002-05-171-1/+2
| | | | | | | | | even after vo->uninit(). Support for dvd/vobsub subtitles. No more crash if vo->config is not called before vo->uninit() git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6112 b3059339-0415-0410-9bf9-f77b7e298cf2
* some cleanup, gl/gl2 updated to use vo_windowarpi2002-05-141-15/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6096 b3059339-0415-0410-9bf9-f77b7e298cf2
* small fixespontscho2002-05-141-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6090 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed vo_uninitalex2002-05-131-2/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6078 b3059339-0415-0410-9bf9-f77b7e298cf2
* small cleanup, new flag in -fsmode to avoid unmapping window for unknown wmarpi2002-05-121-8/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6065 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix Arpi's bugspontscho2002-05-121-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6060 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove base size from vo_x11_sizehintpontscho2002-05-111-29/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6047 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix some small bug and -rootwinpontscho2002-05-111-5/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6044 b3059339-0415-0410-9bf9-f77b7e298cf2
* fullscreen -- round three -- icewm fullscreen fixedpontscho2002-05-091-7/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6035 b3059339-0415-0410-9bf9-f77b7e298cf2
* -zoom, -fs with x[11|mga|v] fix -- round twopontscho2002-05-081-9/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6017 b3059339-0415-0410-9bf9-f77b7e298cf2
* some bugfix, x[11|mga|v] ( fullscreen with more files )pontscho2002-05-081-3/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6014 b3059339-0415-0410-9bf9-f77b7e298cf2
* wm detection -- round twopontscho2002-05-071-14/+60
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6010 b3059339-0415-0410-9bf9-f77b7e298cf2
* upsz, 10lpontscho2002-05-061-4/+5
| | | | 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-19/+113
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5998 b3059339-0415-0410-9bf9-f77b7e298cf2
* - the "black bars" in xv bug fixed (drwX=drwY=0)arpi2002-05-051-5/+2
| | | | | | | | | - -fsmode is working again - BaseSize flag for upscale-only Xv drivers (disabled now) patch by Tom Lees <tal26@cam.ac.uk> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5982 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix xmga fs, resize to movie size and mouse auto hide + dgapontscho2002-05-031-6/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5956 b3059339-0415-0410-9bf9-f77b7e298cf2
* some bug fixpontscho2002-05-011-5/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5920 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix fullscreen bug es ilyen libvo not initialized bug with gui igypontscho2002-04-291-6/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5911 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix fullscreen (?)pontscho2002-04-251-12/+26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5836 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix mouse cursor hide/showpontscho2002-04-171-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5659 b3059339-0415-0410-9bf9-f77b7e298cf2
* Bug fix in mouse button handling for 2° scroller (I hope it workalbeu2002-04-171-1/+4
| | | | | | | as I can't test it) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5657 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix playlist bug with gui and rewrite mousecursor show/hide codepontscho2002-04-161-0/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5652 b3059339-0415-0410-9bf9-f77b7e298cf2
* VM Fix by Uwe.Reder@3soft.deatmos42002-04-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5539 b3059339-0415-0410-9bf9-f77b7e298cf2
* upsz ... 10l :)pontscho2002-03-131-4/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5063 b3059339-0415-0410-9bf9-f77b7e298cf2
* small changes in event handlingpontscho2002-03-131-7/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5062 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l forgot to remove debug printfsatmos42002-03-121-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5058 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix dga key handlingatmos42002-03-121-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5057 b3059339-0415-0410-9bf9-f77b7e298cf2
* VM fixes by Nilmoni Deb.atmos42002-03-101-7/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5020 b3059339-0415-0410-9bf9-f77b7e298cf2
* small changes in libvo's X11 supportpontscho2002-03-081-6/+28
| | | | 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/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4982 b3059339-0415-0410-9bf9-f77b7e298cf2
* vm pecs applied from daniel carter <hedonist@win.co.nz>pontscho2002-03-071-1/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4978 b3059339-0415-0410-9bf9-f77b7e298cf2
* small bug fixed and workarounds :(pontscho2002-03-071-3/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4975 b3059339-0415-0410-9bf9-f77b7e298cf2
* Bugfix in x11_common.c mainly. Don't screw up the display name,albeu2002-02-231-10/+12
| | | | | | | | | don't forget to close the display (vo_xv) and to reset vo_depthonscreen when we have destroyed the window and closed the display !!!!! Open the display before using it (vo_x11) !!! git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4816 b3059339-0415-0410-9bf9-f77b7e298cf2
* setting vo_dx and vo_dy in event handlingalex2002-02-221-4/+27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4813 b3059339-0415-0410-9bf9-f77b7e298cf2
* new interface ? :)pontscho2002-02-211-3/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4799 b3059339-0415-0410-9bf9-f77b7e298cf2
* small changespontscho2002-02-211-58/+35
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4796 b3059339-0415-0410-9bf9-f77b7e298cf2
* added local X11 error handler (call player_exit)alex2002-02-171-0/+25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4743 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added new input mouse support in x11 voalbeu2002-02-111-0/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4659 b3059339-0415-0410-9bf9-f77b7e298cf2
* grr, 10l. vo_x11_uninit: close display only if window not created by GUIalex2002-01-311-4/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4439 b3059339-0415-0410-9bf9-f77b7e298cf2
* vo_x11_uninit: dont destroy window if GUI created italex2002-01-311-12/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4438 b3059339-0415-0410-9bf9-f77b7e298cf2
* added vo_x11_uninitalex2002-01-311-0/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4437 b3059339-0415-0410-9bf9-f77b7e298cf2
* common -vm code, patch by Santi Béjar <tiarda@yahoo.es>arpi2002-01-311-0/+66
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4426 b3059339-0415-0410-9bf9-f77b7e298cf2
* patch by Fredrik Kuivinen <freku045@student.liu.se>pl2002-01-151-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4182 b3059339-0415-0410-9bf9-f77b7e298cf2
* Xinerama patch number two