Small Update to Linux Branch #54

Merged
absquatulate merged 2 commits from linux into linux 2017-04-04 17:29:25 +00:00
absquatulate commented 2017-04-04 07:19:37 +00:00 (Migrated from github.com)

Added X11 to scons build script
Added debug argument to scons script
Used external program 'zenity' to handle file save/load dialogs

Added X11 to scons build script Added debug argument to scons script Used external program 'zenity' to handle file save/load dialogs
CelticMinstrel commented 2017-04-04 07:27:26 +00:00 (Migrated from github.com)

Looks good! I hadn't actually considered using zenity for save/load dialogs because it's an external program, but I guess it's not a bad choice.

I notice you've commented out most of the cursor stuff, was that just because you couldn't get it to work?

Looks good! I hadn't actually considered using zenity for save/load dialogs because it's an external program, but I guess it's not a bad choice. I notice you've commented out most of the cursor stuff, was that just because you couldn't get it to work?
absquatulate commented 2017-04-04 08:58:28 +00:00 (Migrated from github.com)

Yeah, it's lazy, I admit. I figure something is better than nothing until an actual GUI solution is implemented.

As for cursors, I commented it out just to get it to compile for now. I might look at implementing cursors soon, though they might have to be in only two colors.

Yeah, it's lazy, I admit. I figure something is better than nothing until an actual GUI solution is implemented. As for cursors, I commented it out just to get it to compile for now. I might look at implementing cursors soon, though they might have to be in only two colors.
CelticMinstrel commented 2017-04-04 17:29:01 +00:00 (Migrated from github.com)

Yeah, as far as I can tell, the X11 cursor routines only support monochrome cursors, which is rather unfortunate in my opinion. The simplest way to map colour cursors to monochrome would probably to only use the alpha channel, not sure if that would cause weird results though.

I guess I'll go ahead and merge this for now, anyway. If you have further work you can add another PR.

Yeah, as far as I can tell, the X11 cursor routines only support monochrome cursors, which is rather unfortunate in my opinion. The simplest way to map colour cursors to monochrome would probably to only use the alpha channel, not sure if that would cause weird results though. I guess I'll go ahead and merge this for now, anyway. If you have further work you can add another PR.
retropipes commented 2017-04-04 17:38:49 +00:00 (Migrated from github.com)

Does anyone know if Wayland or Mir fixes this Linux specific annoyance?

Does anyone know if Wayland or Mir fixes this Linux specific annoyance?
clort81 commented 2019-12-28 00:09:41 +00:00 (Migrated from github.com)

Games can hide the X cursor and implement their own, getting pointer position from X.

Games can hide the X cursor and implement their own, getting pointer position from X.
Sign in to join this conversation.
No description provided.