aboutsummaryrefslogtreecommitdiffhomepage
path: root/libvo/x11_common.c
Commit message (Collapse)AuthorAge
* "()" to "(void)" function param list fixesGravatar uau2007-04-01
| | | | | | | patch from Stefan Huehner, stefan huehner org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22904 b3059339-0415-0410-9bf9-f77b7e298cf2
* Code cleanup: don't include a .c file in mplayer.c and fix a fewGravatar rathann2007-03-29
| | | | | | | | | | | "implicit declaration of function ‘mplayer_put_key’" warnings Based on Attila's suggestions. Approved by Uoti and Ivan. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22841 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move code to ignore mouse wheel "down" events to fifo.c (needed becauseGravatar reimar2007-01-21
| | | | | | | they too easily cause those "buttons" to get stuck), reducing code duplication. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21982 b3059339-0415-0410-9bf9-f77b7e298cf2
* grammar/spelling/wording in commentsGravatar diego2007-01-18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21956 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not abort on X11 errors, most are not at all fatal.Gravatar reimar2007-01-05
| | | | | | | Makes -vo x11 work over non-trusted ssh X11 forwarding. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21826 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of completely useless includes that in addition hinder compilationGravatar reimar2006-12-16
| | | | | | | on MinGW git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21639 b3059339-0415-0410-9bf9-f77b7e298cf2
* report to mplayer with a slave command the coordinates of the pointer ↵Gravatar nicodvb2006-09-16
| | | | | | reported by x11; rescale coordinates to [0,1]x[0,1] range - patch by Jonas Jermann and me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19856 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make some functions static.Gravatar uau2006-07-08
| | | | | | | Patch by Stefan Huehner, stefan at huehner org. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18955 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix window position when changing videos while in fullscreen and forGravatar reimar2006-06-15
| | | | | | | window managers that modify position on Map. Oked by Alexander Strasser. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18718 b3059339-0415-0410-9bf9-f77b7e298cf2
* typo fixes: Extenstion -> extensionGravatar reimar2006-05-14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18509 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify condition, since both time and time_last are unsigned.Gravatar rathann2006-05-13
| | | | | | | Patch by Rich Felker. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18486 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove updating of vo_mouse_timer_const from the main loop and alsoGravatar uau2006-04-25
| | | | | | | | remove the variable itself. Convert code in x11_common.c and OSD timing that depended on the variable to use real time instead. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18288 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get ride of the several if(identify) messy lines and rearangment of some of ↵Gravatar reynaldo2006-04-24
| | | | | | the output, both patches by Kiriuja mplayer-patches AT en-directo_net, his changes are barely unrelated, nevertheless Im commiting them thogeter just for the sake of my mental healt, I had both patches already applied on my local three git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18238 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l, aspect_save_screenres must be always called in update_xinerama_info.Gravatar reimar2006-04-20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18161 b3059339-0415-0410-9bf9-f77b7e298cf2
* Register for window-manager delete window events and quit MPlayer.Gravatar reimar2006-04-19
| | | | | | | slightly modified patch from Rickard Narstrom (rickard narstrom at gmail com) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18150 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix and improve xinerama supportGravatar reimar2006-04-16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18117 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make -xy help output consistent, output an empty line before and after.Gravatar diego2006-03-04
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17728 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch by Stefan Huehner / stefan % huehner ! org \Gravatar rathann2006-02-09
| | | | | | | | | | | | | | | | | | | | | | patch replaces '()' for the correct '(void)' in function declarations/prototypes which have no parameters. The '()' syntax tell thats there is a variable list of arguments, so that the compiler cannot check this. The extra CFLAG '-Wstrict-declarations' shows those cases. Comments about a similar patch applied to ffmpeg: That in C++ these mean the same, but in ANSI C the semantics are different; function() is an (obsolete) K&R C style forward declaration, it basically means that the function can have any number and any types of parameters, effectively completely preventing the compiler from doing any sort of type checking. -- Erik Slagter Defining functions with unspecified arguments is allowed but bad. With arguments unspecified the compiler can't report an error/warning if the function is called with incorrect arguments. -- Måns Rullgård git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17567 b3059339-0415-0410-9bf9-f77b7e298cf2
* massive attack: mp_msg printf format fixesGravatar rathann2006-01-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17367 b3059339-0415-0410-9bf9-f77b7e298cf2
* Don't abort when xscreensaver window isn't available anymore.Gravatar al2005-12-07
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17124 b3059339-0415-0410-9bf9-f77b7e298cf2
* Revert previous commitGravatar al2005-11-22
| | | | | | | | | | | ``Nov 22 To mplayer-cvsl ( 32) [MPlayer-cvslog] CVS: main/libvo x11_common.c,1.199,1.200'' - causes unneeded massive slowdown when stop-xscreensaver is used - is not consistent with the other xscreensaver functions - was commited without my approval git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17034 b3059339-0415-0410-9bf9-f77b7e298cf2
* resolves problem in module stop_xscreensaver, crashing mp after sleep and ↵Gravatar ptt2005-11-21
| | | | | | awake or enabling/disabling xssaver by hand git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17025 b3059339-0415-0410-9bf9-f77b7e298cf2
* Test if source image dimensions are too big.Gravatar al2005-11-10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16959 b3059339-0415-0410-9bf9-f77b7e298cf2
* libvo input cleanup: remove the dependency on libinput,Gravatar albeu2005-11-02
| | | | | | | remove most of the crappy mappings (like O->o or ESC->q). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16893 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make a few more messages translatable by moving them into help_mp-en.h.Gravatar diego2005-10-18
| | | | | | | patch by Paul TT < paultt == at == hackerjournal == dot == it > git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16794 b3059339-0415-0410-9bf9-f77b7e298cf2
* Slightly reduce unnecessary verbosity.Gravatar diego2005-08-24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16302 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove extern for variables that are already in headers.Gravatar reimar2005-08-21
| | | | 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.Gravatar reimar2005-06-27
| | | | 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 ↵Gravatar gpoirier2005-06-20
| | | | | | 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".Gravatar reimar2005-06-16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15735 b3059339-0415-0410-9bf9-f77b7e298cf2
* - fix black screen problem on reinitGravatar al2005-04-16
| | | | | | | - 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 stateGravatar iive2005-04-10
| | | | | | | (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.Gravatar al2005-02-20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14744 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unified colorkey code for vo xv and vo xvmc.Gravatar al2005-02-20
| | | | | | | | | | | | 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 asGravatar diego2005-02-02
| | | | | | | | 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.Gravatar al2004-12-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14245 b3059339-0415-0410-9bf9-f77b7e298cf2
* added -wid support for vo_directx.Gravatar joey2004-12-21
| | | | 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.Gravatar al2004-11-21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14002 b3059339-0415-0410-9bf9-f77b7e298cf2
* 3 memory leaks fixedGravatar iive2004-11-15
| | | | | | | 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.Gravatar diego2004-11-15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13947 b3059339-0415-0410-9bf9-f77b7e298cf2
* keep screensaver off when playing multiple files.Gravatar reimar2004-11-14
| | | | | | | 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.Gravatar reimar2004-11-04
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13872 b3059339-0415-0410-9bf9-f77b7e298cf2
* fullscreen fixes and GUI support for vo_glGravatar reimar2004-11-01
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13844 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix erroneus extern declarations, fix wrong signedness of some varsGravatar atmos42004-10-31
| | | | 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.Gravatar diego2004-10-28
| | | | | | | 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 switchGravatar nplourde2004-08-08
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12973 b3059339-0415-0410-9bf9-f77b7e298cf2
* Indentation fix from previous patch, as discussed on IRC.Gravatar rtognimp2004-07-11
| | | | | | | 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 ewmhGravatar rtognimp2004-07-11
| | | | | | | | | 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 #2Gravatar attila2004-06-14
| | | | | | | | | | | | | | 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>,Gravatar diego2004-06-02
| | | | | | | approved by Attila. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12521 b3059339-0415-0410-9bf9-f77b7e298cf2