Fix API changes on Linux
This commit is contained in:
parent
262b66b93a
commit
4254eb279f
2 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ void SetWindowType(::Window xwindow, const std::string& type) {
|
|||
XDisplay* xdisplay = gfx::GetXDisplay();
|
||||
std::string type_prefix = "_NET_WM_WINDOW_TYPE_";
|
||||
::Atom window_type = XInternAtom(
|
||||
xdisplay, (type_prefix + StringToUpperASCII(type)).c_str(), False);
|
||||
xdisplay, (type_prefix + base::StringToUpperASCII(type)).c_str(), False);
|
||||
XChangeProperty(xdisplay, xwindow,
|
||||
XInternAtom(xdisplay, "_NET_WM_WINDOW_TYPE", False),
|
||||
XA_ATOM,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue