Changeset View
Changeset View
Standalone View
Standalone View
libkwineffects/kwineffects.h
Show First 20 Lines • Show All 2085 Lines • ▼ Show 20 Line(s) | |||||
2086 | #ifndef KWIN_NO_DEPRECATED | 2086 | #ifndef KWIN_NO_DEPRECATED | ||
2087 | int KWIN_DEPRECATED desktop() const; // prefer isOnXXX() | 2087 | int KWIN_DEPRECATED desktop() const; // prefer isOnXXX() | ||
2088 | #endif | 2088 | #endif | ||
2089 | /** | 2089 | /** | ||
2090 | * All the desktops by number that the window is in. On X11 this list will always have | 2090 | * All the desktops by number that the window is in. On X11 this list will always have | ||
2091 | * a length of 1, on Wayland can be any subset. | 2091 | * a length of 1, on Wayland can be any subset. | ||
2092 | * If the list is empty it means the window is on all desktops | 2092 | * If the list is empty it means the window is on all desktops | ||
2093 | */ | 2093 | */ | ||
2094 | QList<int> desktops() const; | 2094 | QVector<int> desktops() const; | ||
2095 | 2095 | | |||
2096 | int x() const; | 2096 | int x() const; | ||
2097 | int y() const; | 2097 | int y() const; | ||
2098 | int width() const; | 2098 | int width() const; | ||
2099 | int height() const; | 2099 | int height() const; | ||
2100 | /** | 2100 | /** | ||
2101 | * By how much the window wishes to grow/shrink at least. Usually QSize(1,1). | 2101 | * By how much the window wishes to grow/shrink at least. Usually QSize(1,1). | ||
2102 | * MAY BE DISOBEYED BY THE WM! It's only for information, do NOT rely on it at all. | 2102 | * MAY BE DISOBEYED BY THE WM! It's only for information, do NOT rely on it at all. | ||
▲ Show 20 Lines • Show All 1718 Lines • Show Last 20 Lines |