[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [PROGRAMMERING] Hide grafisk cursor i et xterm vindue.



Kim Schmock skrev:

Er i gang med en windows manager (tinywm uden mouse support).
jeg fork'er en xterm, men jeg har den grafiske cursor lige midt i skærmen.
Hvordan fjerner jeg den.
Har prøvet forskellig kode fundet på nettet, men det virker ikke.
Det virker i selve windows manager, altså root vinduet, men ikke i et subvindue (som xterm burde være).

Løst - gemmer cursor for windows manager vindue, gemmer cursor for xterm vindue. Sætter cursor attribute for xterm vindue til "None". Flytter cursor med XWarpPointer(), og vupti så forsvinder cursor.
Det forekommer mig dog lidt mystisk, at effekten først kommer når man programatisk flytter cursor, og ikke hvis man bevæger musen, men ok - det virker.




 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2006-07-01, 02:01 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *