Add "type" option to change window type
This commit is contained in:
parent
6b37f30bd6
commit
f0924df68a
5 changed files with 29 additions and 0 deletions
|
@ -9,6 +9,8 @@
|
|||
#include <X11/extensions/Xrandr.h>
|
||||
#include <X11/Xlib.h>
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace atom {
|
||||
|
||||
::Atom GetAtom(const char* name);
|
||||
|
@ -17,6 +19,9 @@ namespace atom {
|
|||
// for _NET_WM_STATE.
|
||||
void SetWMSpecState(::Window xwindow, bool enabled, ::Atom state);
|
||||
|
||||
// Sets the _NET_WM_WINDOW_TYPE of window.
|
||||
void SetWindowType(::Window xwindow, const std::string& type);
|
||||
|
||||
} // namespace atom
|
||||
|
||||
#endif // ATOM_BROWSER_UI_X_X_WINDOW_UTILS_H_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue