https://bugs.kde.org/show_bug.cgi?id=361674
--- Comment #9 from mcottr...@teradici.com --- (In reply to Thomas Lübking from comment #8) > (In reply to mcottrell from comment #7) > > from the root window (which I guess is the same as the desktop window?). > > Nope. the plasmashell desktop containment is a regular root child (top level > window) with special tags to be known as "desktop" - you'll however get > every event on the root window if you listen to child events (didn't check > your code) by listen to child events do you mean setting the event mask for every child window? I tried with xlib and xcb and haven't had any luck finding a way to do this in any other way, but I could be missing something blindingly obvious... > > > I'm trying to accumulate damaged regions so that I can scrape only pixels > > that have changed, then encode and transmit them over the network to remote > > the desktop. > > Just listen to exposure events in addition - you should not get them while a > compositor does the screen and even iff, they'll be part of the damage > events from the compositor scene anyway. I ran "xwininfo -tree -root" and tried all of the windows that cover the whole desktop (i.e. window size is 1920x1200): 0x3600019 (has no name): () 1920x1200+0+0 +0+0 1 child: 0x360001a (has no name): () 1920x1200+0+0 +0+0 1 child: 0x3400013 "Desktop — Plasma": ("plasmashell" "plasmashell") 1920x1200+0+0 +0+0 but when running xev on those windows looking at expose events, I'm seeing nothing when I minimise either a full screen window or a window obscuring part of the desktop. Is the "Desktop — Plasma" window the one you were referring to as the one tagged to be known as "desktop"? thanks for your replies so far. -- You are receiving this mail because: You are watching all bug changes.