Comments on: Programming: Simple X11 Code Sample for Linux and Mac OS X https://www.geeks3d.com/20120102/programming-tutorial-simple-x11-x-window-code-sample-for-linux-and-mac-os-x/ Graphics Cards and GPUs News, Graphics Programming, Home of FurMark Fri, 24 Nov 2017 18:22:00 +0000 hourly 1 https://wordpress.org/?v=6.7.1 By: glasspusher https://www.geeks3d.com/20120102/programming-tutorial-simple-x11-x-window-code-sample-for-linux-and-mac-os-x/#comment-34180 Thu, 07 Nov 2013 17:25:17 +0000 http://www.geeks3d.com/?p=8160#comment-34180 Hey man,

Thanks. This works under Mavericks too. One thing: there’s a typo in your command line instructions, you have “ell oh one” typed up there in the file names instead of “one oh one”, and for other newbies like me, be sure to enter that on the command line as one line, no carriage return, so it goes as one command!

]]>
By: did https://www.geeks3d.com/20120102/programming-tutorial-simple-x11-x-window-code-sample-for-linux-and-mac-os-x/#comment-31547 Sat, 13 Jul 2013 08:51:26 +0000 http://www.geeks3d.com/?p=8160#comment-31547 I really thank you very much for your simple example which works on MacBook Mountain Lion like the demo you gave.

]]>
By: JeGX https://www.geeks3d.com/20120102/programming-tutorial-simple-x11-x-window-code-sample-for-linux-and-mac-os-x/#comment-22566 Tue, 03 Jan 2012 16:47:12 +0000 http://www.geeks3d.com/?p=8160#comment-22566 @Wan: yep I’m developing for Linux (and Mac 🙁 ) and GeeXLab is planned but later. Currently I work on smaller projects…

]]>
By: Michal https://www.geeks3d.com/20120102/programming-tutorial-simple-x11-x-window-code-sample-for-linux-and-mac-os-x/#comment-22556 Mon, 02 Jan 2012 19:21:52 +0000 http://www.geeks3d.com/?p=8160#comment-22556 while (true) {
while (XPending(dpy)) {
XNextEvent(dpy, &e);
// process event here…
}
DrawAndUpdate();
}

]]>
By: Wan https://www.geeks3d.com/20120102/programming-tutorial-simple-x11-x-window-code-sample-for-linux-and-mac-os-x/#comment-22554 Mon, 02 Jan 2012 17:09:03 +0000 http://www.geeks3d.com/?p=8160#comment-22554 So how is the linux version of GeeXLab going? Come on, we know from the past blog posts that you are developping something for another platform than Windows, so what is it?

]]>
By: JeGX https://www.geeks3d.com/20120102/programming-tutorial-simple-x11-x-window-code-sample-for-linux-and-mac-os-x/#comment-22553 Mon, 02 Jan 2012 16:33:40 +0000 http://www.geeks3d.com/?p=8160#comment-22553 XNextEvent is blocking like GetMessage (see here).

]]>
By: fpmore https://www.geeks3d.com/20120102/programming-tutorial-simple-x11-x-window-code-sample-for-linux-and-mac-os-x/#comment-22552 Mon, 02 Jan 2012 16:14:43 +0000 http://www.geeks3d.com/?p=8160#comment-22552 Hey JeGX thanks for the sample!
Quick question: the XNextEvent function behaves like the WinAPI function GetMessage and suspends the current thread while there’s no new events or it behaves like the PeekMessage?

]]>