Commit Graph

189 Commits

Author SHA1 Message Date
al 471f9a844f We should not crash, only because we couldn't hide the cursor.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14744 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-20 22:58:55 +00:00
al f366d01286 Unified colorkey code for vo xv and vo xvmc.
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
2005-02-20 22:43:25 +00:00
diego c3e7f3b845 Separate XF86 video mode extension check from XF86 keysym check as
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
2005-02-02 14:07:13 +00:00
al 00f99a82a8 Fix ontop for some WMs that lose ontop state after fullscreen event.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14245 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-27 11:09:49 +00:00
joey 9e7ca454b4 added -wid support for vo_directx.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14208 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-21 20:33:51 +00:00
al 20de42b61d The GUI shouldn't handle key events at two places.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14002 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-21 10:53:27 +00:00
iive b3dcfc7ec6 3 memory leaks fixed
Xlib funtions allocate memory that should be freed appropriately


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13954 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-15 14:56:18 +00:00
diego 3ebf6f0135 Reduce excessive verbosity.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13947 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-15 09:09:29 +00:00
reimar fae622c10f keep screensaver off when playing multiple files.
patch by rgselknospam (at) yahoo [dot] com.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13936 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-14 11:36:40 +00:00
reimar a594c4f593 more fullscreen fixes and gl2 uses setGlWindow.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13872 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-04 18:31:55 +00:00
reimar 1a7a3f8b38 fullscreen fixes and GUI support for vo_gl
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13844 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-01 20:24:37 +00:00
atmos4 8aa920c937 Fix erroneus extern declarations, fix wrong signedness of some vars
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13829 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-31 18:01:14 +00:00
diego 5b0d96c6b4 Handle "xxx.h" vs "../xxx.h" include paths in a consistent way.
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
2004-10-28 01:15:53 +00:00
nplourde 0b7de297e4 now use vo_rootwin var to check for -rootwin switch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12973 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-08 23:22:29 +00:00
rtognimp 1772486e47 Indentation fix from previous patch, as discussed on IRC.
Patch by Alexander Strasser


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12799 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-11 22:27:18 +00:00
rtognimp 87a4968354 This fixes the problems that originated from my ewmh
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
2004-07-11 22:16:52 +00:00
attila 0e4e21aac5 major reindentation of x11 code try #2
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
2004-06-14 04:53:03 +00:00
diego b753d80209 Metacity fullscreen issues, patch by Alexander Strasser <eclipse7@gmx.net>,
approved by Attila.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12521 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-02 02:34:39 +00:00
faust3 a011baa532 keepaspect and nokeepaspect are now useable by all vos
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12372 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-01 14:52:15 +00:00
rathann 316083485f full screen flipping synchronization corrections (by Adam Tla/lka)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12126 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-05 21:35:30 +00:00
rathann c2c8b4874c Unmap window before change in decor and size while flipping full screen mode (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
2004-04-05 21:33:51 +00:00
rathann b4387abe8f move window decor changes after setting Withdrawn state so we have no additionalwindow refresh
(by Adam Tla/lka)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12113 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-03 13:46:00 +00:00
rathann 3813c68516 - win_gravity memorizing and restoring while switching fullscreen mode (by Adam Tla/lka)
- recommited without cosmetic changes (by me)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12112 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-03 13:41:23 +00:00
atlka 9de08fa0eb ALSA syc is not so good as OSS - small corrections
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
2004-04-01 20:59:07 +00:00
diego 2e90c1dffc Don't mess with the window position in xinerama when -geometry changes it.
(Attila Kinali)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12033 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-03-16 05:16:58 +00:00
diego 70305e36ae Use system clock for xscreensaver pings (Tobias Diedrich).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12032 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-03-16 05:15:44 +00:00
attila e3c7c5dc11 set min width/height
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11996 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-02-24 18:17:05 +00:00
diego 7ec1fd3d3e Support binding F11 and F12 keys to commands.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11794 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-01-16 17:31:38 +00:00
attila a6bd35c9a2 prevent possible segfault when vidmodes is freed and config() calls vo_vm_switch
again.
Found by Peter Kosinar <goober@ksp.sk>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11580 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-12-08 12:03:03 +00:00
joey 640f93d018 runtime 'stay-on-top' functionality
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11543 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-30 16:36:10 +00:00
lumag 3edb02e5e4 Get more keys from X window (punctuation, etc.) Hopefully, all alnum keys
will work now.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10937 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-24 07:38:57 +00:00
henry c5d0cb235e prevent crashes with vo_sdl
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10921 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-21 16:32:31 +00:00
attila a7093bca30 dont fix things at the wrong place
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10906 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-21 11:27:11 +00:00
attila 00dc6152fc fix aspect for gl2 fullscreen
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
2003-09-20 10:24:10 +00:00
mosu c050413677 Fixed double free of data. Patch by Dima K. <dimakar@yahoo.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10795 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-02 14:39:02 +00:00
alex abb85c8b30 -nomouseinput support for vo_sdl
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10786 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-01 18:24:27 +00:00
alex 7988f6bde6 10000l. Never ever use such foolish GCC 3.x extensionscvs diff -u x11_common.c x11_common.h |more
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10766 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-31 23:13:45 +00:00
mosu 908e6a761d Avoid flickering during resizes. Keep video contents even when paused. Fix by Tomas Simonaitis <haden@homelan.lt>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10758 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-31 22:27:10 +00:00
alex 6483811e49 Recieving of mouse events can be switched off. Patch by Markus Rechberger <mrechberger@web.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10755 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-31 22:02:25 +00:00
attila aea4ad40a8 Commit alex's fstype patch x11_common.c3.diff with additional manpage extension.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10696 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-25 18:13:51 +00:00
alex e29399ee3e moved lot of global variables into static ones (and some minor spelling fixes)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10588 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-12 20:54:12 +00:00
alex 7aa3b58b98 10l (and fixes some wmaker issues)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10571 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-11 19:02:37 +00:00
iive a078b2a474 move xv_set_eq to x11_common
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10360 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-07-01 21:37:20 +00:00
rathann 3f758ed442 small warning fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10312 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-19 18:26:13 +00:00
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