Displaying 3 results from an estimated 3 matches for "substructurenotifymask".
2013 Jun 19
2
Relative position between two windows
...ablished corners of them that they have when mapped.
So that if I move or resize one of the window, the other if necessary
automatically
moves to observe the condition. I'm close with this code, let's see for
example
the case for window A:
XSelectInput ( display, RootWindow ( display, 0 ), SubstructureNotifyMask );
>
> XEvent event;
> while ( true )
> {
> XNextEvent ( display, & event );
> /* ... */
> if ( event.type == ConfigureNotify and event.xconfigure.window ==
> window_B )
> {
> // new_x, new_y based on event.xconfigure.x, event.xconfigure.y,...
2013 Jun 19
0
Relative position between two windows
...have when mapped.
> So that if I move or resize one of the window, the other if necessary
> automatically
> moves to observe the condition. I'm close with this code, let's see for
> example
> the case for window A:
>
> XSelectInput ( display, RootWindow ( display, 0 ), SubstructureNotifyMask
>> );
>>
>> XEvent event;
>> while ( true )
>> {
>> XNextEvent ( display, & event );
>> /* ... */
>> if ( event.type == ConfigureNotify and event.xconfigure.window ==
>> window_B )
>> {
>> // new_x, new_y...
2015 Apr 27
2
First post
...ButtonPressMask
ButtonReleaseMask EnterWindowMask LeaveWindowMask
Button1MotionMask Button2MotionMask Button3MotionMask
Button4MotionMask Button5MotionMask ButtonMotionMask
StructureNotifyMask SubstructureNotifyMask SubstructureRedirectMask
PropertyChangeMask ColormapChangeMask
number of visuals: 120
default visual id: 0x41
visual:
visual id: 0x41
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks:...