1903 |
xevent.xexpose.width, |
xevent.xexpose.width, |
1904 |
xevent.xexpose.height, xevent.xexpose.x, |
xevent.xexpose.height, xevent.xexpose.x, |
1905 |
xevent.xexpose.y); |
xevent.xexpose.y); |
1906 |
|
else |
1907 |
|
{ |
1908 |
|
error("Expose for unknown window 0x%lx\n", |
1909 |
|
xevent.xexpose.window); |
1910 |
|
} |
1911 |
} |
} |
1912 |
|
|
1913 |
break; |
break; |
3063 |
ui_seamless_destroy_window(unsigned long id, unsigned long flags) |
ui_seamless_destroy_window(unsigned long id, unsigned long flags) |
3064 |
{ |
{ |
3065 |
seamless_window *sw; |
seamless_window *sw; |
|
sw = seamless_get_window_by_id(id); |
|
3066 |
|
|
3067 |
|
sw = seamless_get_window_by_id(id); |
3068 |
if (!sw) |
if (!sw) |
3069 |
{ |
{ |
3070 |
warning("ui_seamless_destroy_window: No information for window 0x%lx\n", id); |
warning("ui_seamless_destroy_window: No information for window 0x%lx\n", id); |
3082 |
seamless_window *sw; |
seamless_window *sw; |
3083 |
|
|
3084 |
sw = seamless_get_window_by_id(id); |
sw = seamless_get_window_by_id(id); |
|
|
|
3085 |
if (!sw) |
if (!sw) |
3086 |
{ |
{ |
3087 |
warning("ui_seamless_move_window: No information for window 0x%lx\n", id); |
warning("ui_seamless_move_window: No information for window 0x%lx\n", id); |
3114 |
seamless_window *sw; |
seamless_window *sw; |
3115 |
|
|
3116 |
sw = seamless_get_window_by_id(id); |
sw = seamless_get_window_by_id(id); |
3117 |
|
if (!sw) |
3118 |
|
{ |
3119 |
|
warning("ui_seamless_settitle: No information for window 0x%lx\n", id); |
3120 |
|
return; |
3121 |
|
} |
3122 |
|
|
3123 |
XStoreName(g_display, sw->wnd, title); |
XStoreName(g_display, sw->wnd, title); |
3124 |
} |
} |
3130 |
seamless_window *sw; |
seamless_window *sw; |
3131 |
|
|
3132 |
sw = seamless_get_window_by_id(id); |
sw = seamless_get_window_by_id(id); |
3133 |
|
if (!sw) |
3134 |
|
{ |
3135 |
|
warning("ui_seamless_setstate: No information for window 0x%lx\n", id); |
3136 |
|
return; |
3137 |
|
} |
3138 |
|
|
3139 |
switch (state) |
switch (state) |
3140 |
{ |
{ |