Commit graph

41 commits

Author SHA1 Message Date
Jeff Teunissen
411ade4ce2 Fix gamma again. Also some minor whitespace and slight code cleanup. 2002-04-26 20:25:01 +00:00
Jeff Teunissen
b75d50d088 X11 gamma restoration now works properly for systems with a normal gamma that
uses all three components (red, green, blue).

Next up: three-component internal gamma.
2002-04-25 20:53:15 +00:00
Jeff Teunissen
c877ba7fbd System gamma is now restored properly in X11. 2002-04-25 20:28:15 +00:00
Bill Currie
180c517771 signal handling improvements 2002-03-13 19:20:57 +00:00
Bill Currie
009e6346fe now, so long as ulimit allows it, we can always get a core dump. Looks a
little odd:

Received signal 11, exiting...
IN_Shutdown
IN_LL_Shutdown
VID_Shutdown
Segmentation fault (core dumped)

but the core file does accurately show the error
2002-02-27 06:55:21 +00:00
Bill Currie
96c7159f66 keep track of the times of the last event (for those events that report time)
and use that instead of CurrentTime in the X selection code (as recommended
by the ICCCM)
2002-01-08 20:07:19 +00:00
Ragnvald Maartmann-Moe IV
f60c39e0bc Whitespace. 2001-11-07 06:59:10 +00:00
Bill Currie
78a3e398d5 * taniwha gets medieval on extern 2001-10-28 04:23:37 +00:00
Bill Currie
b5341f0d13 we now compile and link with -fno-common. this cleans up the multiple,
uninitialized declarations of variables.
2001-10-23 16:55:23 +00:00
Bill Currie
b3914eeaaa elimination of bare printf (with some exceptions) from libs: Sys_Printf is
used instead
2001-10-18 16:42:14 +00:00
Bill Currie
757a0f690c fix a missing #ifdef HAVE_VIDMODE 2001-10-06 22:57:54 +00:00
Bill Currie
c7031b20f3 move vid_fullcreen definition from *.c to vid.c and declaration from
context_x11.h to vid.h and remove all extern decls from *.c
2001-09-28 16:54:31 +00:00
Bill Currie
b1f4a778f9 the rcsid commit from hell }:> 2001-09-28 06:26:31 +00:00
Adam Olsen
678068849e James' latest fullscreen patch, which works flawlessly for me :)
(and if anybody cares about the formatting they can change it AFTER
this is in)
2001-09-18 09:30:59 +00:00
Bill Currie
b79ff6378d mouse warpage fixes from james 2001-09-18 05:18:49 +00:00
Bill Currie
dd98622859 x11 vid_fullscreen improvements from james (thanks) 2001-09-18 04:53:01 +00:00
Bill Currie
8c026417d8 Wait for X to complete the previous operation before proceding to the next.
This causes the mouse to warp properly, but doesn't fix my disappearing window :(
(possibly a wm bug)
2001-09-10 21:55:34 +00:00
Bill Currie
95515e28d7 use XMapRaised instead of XMapWindow + XRaiseWindow 2001-09-10 17:18:31 +00:00
Bill Currie
0f30506b79 d'oh, got the return values backwards 2001-09-10 17:02:35 +00:00
Bill Currie
388513e005 several fullscreen toggling improvements including window location restoration 2001-09-10 16:53:33 +00:00
Bill Currie
a17d8fe452 turns out the window location code is needed after all. 2001-09-10 15:41:47 +00:00
Bill Currie
b788eb6dbd remove some no-longer needed code (the window coord finder) and quientn
the mode setting code a little.
2001-09-08 06:25:37 +00:00
Bill Currie
b12ee9e166 unmap and re-map the window with the correct attributes for the current
setting of vid_fullscreen
2001-09-08 05:43:52 +00:00
Bill Currie
822e637e11 s/_windowed_mouse/in_grab/ and in_grab and in_dga now use callbacks 2001-08-30 20:04:13 +00:00
Adam Olsen
bd847e73f1 Add support for dumping backtraces. 2001-08-23 23:34:38 +00:00
Bill Currie
b455458629 exit cleanup. Sys_Error and Sys_Quit should be used whenever possible. 2001-08-02 17:16:12 +00:00
Bill Currie
1c9e1b176f fear the mighty const correct patch 2001-07-15 07:04:17 +00:00
Adam Olsen
ac46e5b49d oops, sys_dump_core instead of sys_dumpcore 2001-07-15 01:45:03 +00:00
Adam Olsen
cb133ddf93 Add support for core dumping to X11 targets. set sys_dump_core to 1, and
ulimit -c to a sufficiently high value.  (I get ~20 meg cores)
2001-07-14 03:15:14 +00:00
Bill Currie
fc09d2b00f port Bruce Momjian's patches from newtree with a less incestuous
implementation of his sound/focus patch. NOTE: only alsa 0.9 is tested
(Rhamph, can you test 0.5, please?) and only the alsa drivers stop the
hardware right ow.

WARNING!!! you /will/ have to re-install your plugins, or you will get
segfaults when the window gains/loses focus.

How do you tell if a window has focus on first mapping in X11?
2001-07-05 20:18:23 +00:00
Zephaniah E. Hull
908d265212 Clean up and repair of the run time linking, does NOT work until deek
commits his gl_funcs.c.
2001-06-26 02:26:46 +00:00
Bill Currie
f83b9be0ba remove redundant vid_gamma_avail decls 2001-05-24 23:49:28 +00:00
Jeff Teunissen
62f57f5f2a Require vid_gamma_avail for gamma switching, not vidmode_avail 2001-05-22 06:14:57 +00:00
Adam Olsen
f732cd7932 move x_gamma and vidmode_avail definitions into #ifdef HAVE_VIDMODE.
patch from that kimpornqueen person :)
2001-05-22 05:24:05 +00:00
Jeff Teunissen
2fa09aa68a Restore hardware gamma on exit. 2001-05-20 00:56:09 +00:00
Bill Currie
3e2a92af1c allow the mouse to be freed when vid_fullscreen changes from 1 to 0 2001-05-18 17:11:30 +00:00
Bill Currie
4cd29c2ff8 don't go fullscreen when already fullcreen 2001-05-17 20:57:29 +00:00
Adam Olsen
c21f9d614a removed "in thinger" :) 2001-05-17 10:08:00 +00:00
Bill Currie
749270a52a vid_fullscreen toggling thanks to james411 2001-05-17 09:56:43 +00:00
Bill Currie
9bea21a930 first stab at doing vid_mode the right way, thanks to james111
(James Andariese - james@ja.ath.cx) doesn't quite work properly for all
window managers, but NICE :)
2001-05-17 06:55:47 +00:00
Ragnvald Maartmann-Moe IV
66fafd3e0e First stage of video and input system merge. The city has collapsed, wreckage sifting ensues... 2001-04-15 04:18:22 +00:00