Re: [gtk-list] SubstructureRedirectMask....



On 11 May, julian.gosnell@nomura.co.uk shouted:
->  I am playing with the idea of writing a window manager using GTK.
->  
->  GDK seems to have no concept of SubstructureRedirectMask or e.g. 
->   XMapRequestEvent.
->  
->  I seem to be doing something that the designers of GDK/GTK did not provide for -
->   or did they ?

precisely why I did not chose gdk/gtk to rewrite enlightenment with.
This isjust one of several "holes" missing for writing a WM

likeluy you are goign to have to do a hybrid Xlib/gdk/gtk program -
prolly having a sepafrate X connectipon to handle these X events (like
MapRequest, Reparent.... etc....) and also do other lower-level stuff
and a gdk/gtk connection for gfx/drawing... pain in the left buttock.
I'm happy to stick at Xlib...

->  
->  What are these extension events ?
->  
->  Is there a way to pass an XEventMask through gtk/gdk onto a window and not have
->  it erased the next time you add/remove a GdkEventMask ?
->  
->  If not has anyone any suggestions ?
->  
->  If I set the mask with XSelectInput and then use gdk_window_add_filter I can
->  trap the [Gdk]XEvents in which I am interested but I am worried that future
->  uses of gtk-signal-connect will erase the fact that I am interested in
->  SubstructureRedirectMask.
->  
->  Thanks for your time,
->  
->  
->  Jules
->  

-- 
--------------- Codito, ergo sum - "I code, therefore I am" --------------------
raster@rasterman.com       /\___ /\ ___/||\___ ____/|/\___  raster@redhat.com
Carsten Haitzler           | _ //__\\ __||_ __\\ ___|| _ /  Red Hat Advanced
218/21 Conner Drive        || // __ \\_ \ | |   \ _/_|| /   Development Labs
Chapel Hill NC 27514 USA   ||\\\/  \//__/ |_|   /___/||\\   919 547 0012 ext 282
+1 (919) 929 9443, 801 4392   For pure Enlightenmenthttp://www.rasterman.com/ 



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