ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RP] multiple display support broken


From: Brian May
Subject: [RP] multiple display support broken
Date: Tue, 10 May 2011 19:58:01 +1000

Not sure if this has made its way to ratpoison developers or not.

Latest X-Windows set DISPLAY to :0, not :0.0 and ratpoison will always use :0, even if :0.1 is desired.

See: https://bugs.launchpad.net/ubuntu/+source/ratpoison/+bug/774624

Solution is easy, change the ratpoison code as documented in the bug report:

char * dot;
dot = strrchr(s->display_string, '.');
if (!dot) dot = s->display_string + strlen(s->display_string);
sprintf(dot, ".%i", screen_num);

--
Brian May <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]