support meaningful return values.
support meaningful return values.
This function should be inilined.
This function should be inilined.
currently i have this set so that a ^v or Menu[Edit/Paste] will use the CLIPBOARD property and a MiddleMouseClick will use the PRIMARY property -- this seems to be the "X11 way" (sigh). consider having a preferences switch to allow ^v and Menu[Edit/Paste] to use the most recent property... this might be a nice way of unifying things -- or it might not -- this is probably an area for investigation or some usability testing.
currently i have this set so that a ^v or Menu[Edit/Paste] will use the CLIPBOARD property and a MiddleMouseClick will use the PRIMARY property -- this seems to be the "X11 way" (sigh). consider having a preferences switch to allow ^v and Menu[Edit/Paste] to use the most recent property... this might be a nice way of unifying things -- or it might not -- this is probably an area for investigation or some usability testing.
The return value should be fixed to check the return values of the functions it calls, and potentially handle errors. At a minimum, it should return false on errors.
The return value should be fixed to check the return values of the functions it calls, and potentially handle errors. At a minimum, it should return false on errors.
ROB parse more attributes like font-color, background-color
ROB parse more attributes like font-color, background-color
Could this be a static member function? JCA: No, but it can be extern "C" { static void signalWrapper(int) } JCA: (well, there is a way to use a static member function and to remain JCA: correct, but it's a bit cumbersome.)
Could this be a static member function? JCA: No, but it can be extern "C" { static void signalWrapper(int) } JCA: (well, there is a way to use a static member function and to remain JCA: correct, but it's a bit cumbersome.)
Could this be a static member function? JCA: No, but it can be extern "C" { static void signalWrapper(int) } JCA: (well, there is a way to use a static member function and to remain JCA: correct, but it's a bit cumbersome.)
1.7.1