Kristian Høgsberg
8d1aa7d8ef
xwm: Don't dispatch for events coming from XSendEvent
...
GTK+ sends an unmap_notify to the root window when a toplevel GTK+ window
gets unmapped. That may be a GTK+ bug, but we should just ignore events
from XSendEvent.
2012-05-30 10:06:59 -04:00
Kristian Høgsberg
194ea5423e
xwm: Destroy frame resources and reparent back to root in unmap_notify
...
The frame window and the wayland surface needs to go away when then
X window is unmapped, not when it's destroyed.
2012-05-30 10:05:41 -04:00
Kristian Høgsberg
d96fe1f7e7
xwm: Remove pointless change set request
2012-05-30 10:04:15 -04:00
Kristian Høgsberg
f94a031b84
xwm: Don't select for STRUCTURE_NOTIFY or RESIZE_REDIRECT
...
We get all that information through SUBSTRUCTURE_NOTIFY on the parent
windows.
2012-05-30 10:02:58 -04:00
Kristian Høgsberg
bc6e1622b0
xwm: Ignore map request for already mapped window
...
If a client sends another map request before the server has seen our
reply to the first map request event, we might get a map request for an
already mapped window. Just ignore that.
2012-05-30 09:59:56 -04:00
Kristian Høgsberg
0273b5716a
xwm: Reduce window property debug output
...
We just print properties when they change now instead of dumping all
properties whenever we re-read them. Also, make the property output a
little more concise.
2012-05-30 09:58:02 -04:00
Kristian Høgsberg
c9571fbd3a
xwm: Reset wm->focus_window when the focused window is destroyed
2012-05-29 15:35:29 -04:00
Kristian Høgsberg
e68fd10f87
xwm: Handle resize cases of _NET_WM_MOVERESIZE
2012-05-22 17:09:40 -04:00
Kristian Høgsberg
c1693f209a
xwm: Implement resizing by frame borders
2012-05-22 16:56:23 -04:00
Kristian Høgsberg
f96e6c00d9
Share code to to classify pointer location in frame
2012-05-22 16:38:53 -04:00
Kristian Høgsberg
a61ca06b49
xwm: Add window resize support
2012-05-22 16:05:52 -04:00
Scott Moreau
85ecac0a4e
xwm: Fold weston_wm_activate into weston_wm_window_activate
2012-05-22 12:58:41 -04:00
Scott Moreau
1b3984c3cc
xwayland/window-manager.c: Use container_of to get the wm pointer since window may be NULL.
2012-05-22 11:34:34 -04:00
Kristian Høgsberg
eaee784160
xwm: Use SUBSTRUCTURE_REDIRECT on frame window too
...
This lets us intercept and handle client attempts to resize their window
within the frame window.
2012-05-22 10:12:22 -04:00
Kristian Høgsberg
380deee3c7
xwayland: Add window-manager.c
...
Used mv instead of git mv to rename file...
2012-05-21 17:12:41 -04:00