Commit Graph

145 Commits

Author SHA1 Message Date
alex a0fce62fd3 warning fixes by Dominik Mierzejewski <dominik@rangers.eu.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10213 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-30 18:05:49 +00:00
pontscho 01ab34d04a From: Michael Joosten <joost@c-lab.de>
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
2003-05-26 08:34:17 +00:00
alex 2b1f95dcc2 keypad and function (f1-f10) suppport (currently only vo_sdl and the 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
2003-04-09 17:05:39 +00:00
albeu ec92ba43f1 Support for "internet" or "multimedia" keyboards in X11.
Patch from Jason Tackaberry <tack at auc dot ca>.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9823 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-04 15:04:26 +00:00
ranma 8d91f67c23 Improved xscreensaver support.
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
2003-03-26 17:02:28 +00:00
filon bbff3584e1 - fix detetcion of metacity (sawfish 1.0 will be no longer treated as metacity)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9385 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-10 14:08:37 +00:00
arpi 7ff83a7181 linux->osdep
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9381 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-09 20:18:23 +00:00
filon d6b0903b03 Document -fstype in manpage.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9339 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-08 10:01:59 +00:00
filon a3385947b2 - support command line parameter -fstype, eg. -fstype layer=12,above,fullscreen
- 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
2003-02-07 19:38:39 +00:00
arpi ca0263659f compiler warning fixes patch by Dominik Mierzejewski <dominik@rangers.eu.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9218 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-02 02:42:59 +00:00
filon 61a46b242b Remember window layer befor changing it.
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
2003-01-09 21:23:54 +00:00
pontscho 52a7bad9a6 - sync with x11_common
- half rewrited font render engine (disabled by default)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8865 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-09 20:47:14 +00:00
filon 16517dc033 Fixed metacity + xv behavior (something broke it lately).
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
2003-01-07 20:58:25 +00:00
filon d5fef408d1 Added missing spaces around found atom name.
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
2003-01-04 20:43:26 +00:00
filon 6b469f9197 really not needed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8754 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-04 01:11:19 +00:00
arpi 4bb83d4f38 1l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8753 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-03 23:52:55 +00:00
filon 0d733af059 More fullscreen cleanup work. Use nice macros for X atoms.
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
2003-01-03 15:30:57 +00:00
attila 4fd397ac89 fix bitmap leak pointed out by Pierre-Paul Lavoie <ppl@nbnet.nb.ca>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8717 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-02 14:33:55 +00:00
attila 6d5589535b sending 10l to Filip
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8695 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-01 14:16:02 +00:00
filon a5005b2847 - reverting icewm hack (i have used broken icewm, regular one is working)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8694 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-01 12:50:56 +00:00
attila 76da393f98 X11 window aspect patch by Arnaud Boulan <boulan@iie.cnam.fr>
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
2003-01-01 12:02:49 +00:00
arpi 24bdd5e392 I have just installed IceWM 1.2.3 which supports NetWM and has broken
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
2002-12-31 12:42:14 +00:00
arpi 80bbae8720 This time the patch is fixing much more that breaking :-)
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
2002-12-30 23:59:53 +00:00
arpi cab4d6b8e0 2*10l :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8664 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-30 20:57:01 +00:00
arpi 230d39113b I have looked at the fullscreen code and realized that there are
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
2002-12-30 18:50:15 +00:00
arpi c4afe3339f NetWM fs. switching cleanup
patch by Filip Kalinski <filon@pld.org.pl>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8654 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-30 00:47:43 +00:00
arpi 1cb75ce967 That patch fixes fullscreen on sawfish 1.2.
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
2002-12-29 21:08:10 +00:00
henry 9c96ec9a50 memory leak
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8447 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-14 11:14:37 +00:00
henry 6ab9415443 use more methods to get the fs window on top
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8446 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-14 11:09:06 +00:00
arpi cd1d63b19d fullscreen fix for KDE (reported to work with gnome 1/2 too)
patch by "Puk Madick" <pingy@swirvemail.com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8411 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-08 01:35:07 +00:00
arpi b318b50c82 The detection of a NetWM class window manager hints is tested before
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
2002-12-07 01:25:30 +00:00
arpi c1d0b30ae1 This patch fixes the screensaver issues in mplayer. It will correctly read
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
2002-12-04 23:31:46 +00:00
albeu 9cec79240d The OSD menus need more keys
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8216 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-16 16:08:36 +00:00
henry 35dc94a792 reversed wm order in vo_x11_setlayer + even upper layer for GNOME compliant wm's
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8148 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-11 14:26:07 +00:00
arpi f859d013a8 *HUGE* set of compiler warning fixes, unused variables removal
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
2002-11-06 23:54:29 +00:00
henry c987c2e4e9 yet another screensaver fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8098 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-04 08:21:46 +00:00
nexus 867f528196 fix by Pontscho
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8087 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-03 16:58:07 +00:00
arpi 39fe4d0cd3 verbose can be negative
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8028 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-01 17:46:45 +00:00
arpi e5947d8b27 here is a somewhat generic equalizer implementation for the X11 vo drivers
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
2002-10-29 20:27:47 +00:00
pontscho a06c8c3796 fix memleak again
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7767 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-16 22:53:18 +00:00
arpi e73a9c9bf0 10l to Dominik - casting at wrong place
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7748 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-16 13:31:38 +00:00
arpi e84772b08d compiler warning fixes
patch by Dominik Mierzejewski <dominik@rangers.eu.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7732 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-13 21:58:55 +00:00
arpi bb6927634a mayeb fixed dpms/screensaver issues
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7634 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-06 18:21:13 +00:00
pontscho 690bccca99 _NET_WM_FULLSCREEN support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7573 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-01 14:37:01 +00:00
atmos4 1074247f62 Fix kde 3.1 fullscreen issues, closes my latest bugreport on that issue.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7545 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-29 04:18:53 +00:00
arpi 8ded55d12f fullscreen fixes, based on mail by Havoc Pennington <hp@redhat.com>
- 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
2002-09-28 22:37:20 +00:00
arpi c84d0142f1 Modern versions of OpenSSH listen on localhost to forward the X11 connection
(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
2002-09-23 21:17:30 +00:00
arpi 766e2f7af3 d_width==screenwidth && -fs hopefully fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7436 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-18 01:22:03 +00:00
jkeil d0e59b4ff9 Add the code that chooses a good X11 truecolor visual to the vo_x11 config()
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
2002-09-03 18:10:42 +00:00
alex 0b03ca9d27 removed old input code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7112 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-28 15:55:58 +00:00