Ben Anderson
|
80d6e78069
|
Code cleanups I keep forgetting to commit...
|
2005-03-26 16:39:53 +00:00 |
|
Ted Percival
|
93120e9c9e
|
initialise finalMask to zero (was uninitialised)
|
2005-03-25 03:09:06 +00:00 |
|
Ben Anderson
|
96d6cdd9cc
|
XSync can and often does cause events e.g. input events to be dropped, don't do it.
|
2005-03-17 02:12:57 +00:00 |
|
Ben Anderson
|
78b742a7da
|
X True, not C++ true
|
2005-03-16 02:40:12 +00:00 |
|
Ben Anderson
|
18296126df
|
Do things a little closer to the way SDL does them (but not much), magical hack that fixes performance issues for X11 on some (all?) systems, use variables instead of functions for Dpy and Win in X11Helper, a couple formatting tweaks.
|
2005-03-16 02:23:07 +00:00 |
|
Ben Anderson
|
a95cb42339
|
Reserve a whole 1k for that error message. They're more descriptive (read: long) than I thought
|
2005-03-14 00:00:29 +00:00 |
|
Ben Anderson
|
c58fefcfff
|
Catch and log X11 protocol errors; they might be useful in debugging.
|
2005-03-13 23:50:12 +00:00 |
|
Ben Anderson
|
634e0a5b28
|
I should've done this a little differently (intuitively). Good catch, Glenn.
|
2005-03-13 22:08:55 +00:00 |
|
Ben Anderson
|
68799a8820
|
Use iterators, etc. properly. It's painfully obvious I don't code C++ much.
|
2005-03-13 21:08:52 +00:00 |
|
Ben Anderson
|
c70d8cdb86
|
Whoops, forgot an initializer, and forgot to destroy the old window...
|
2005-03-13 18:53:07 +00:00 |
|
Ben Anderson
|
62c0288f66
|
Design change -- the callback system is unnecssary, all InputHandler_X11 needs to do is unmask events, which is already available through OpenMask(). Also, a few idle formatting tweaks.
|
2005-03-13 17:54:13 +00:00 |
|
Ben Anderson
|
d466d31196
|
Fix one or two mistakes; allow mask setting even if no winow has been created yet.
|
2005-03-13 16:00:38 +00:00 |
|
Ben Anderson
|
a0b45c084d
|
Added parts related to event mask. Should be feature complete and the header more or less finalized now, but who knows if it as much as compiles, leave alone runs or works...
|
2005-03-13 05:32:16 +00:00 |
|
Ben Anderson
|
cea5074135
|
Initial (INCOMPLETE!) X11 helper for the upcoming InputHandler_Xlib and LowLevelWindow_Xlib. I should finish this in the next week.
|
2005-03-13 04:02:37 +00:00 |
|