Commit Graph

4 Commits

Author SHA1 Message Date
Julien Danjou af654a75d2 xwindow: ungrab before grabbing
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-28 13:28:00 +02:00
Uli Schlachter ac4c788fd9 Use WM_STATE_NORMAL as default
If a window didn't have a WM_STATE set, xwindow_get_state_reply() returned 0
which just happened to be XCB_WM_STATE_WITHDRAWN. This caused issues in scan().

Instead, we now assume a window is in state normal if no state is explicitly
set, which makes a lot more sense and fixes actual bugs.

Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-03-29 17:47:41 +02:00
Julien Danjou d5e3a25bbc xwindow: check that window exists before setting opacity
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-27 12:16:53 +01:00
Julien Danjou 3ce7638e0f window: rename to xwindow
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-20 20:42:05 +02:00