Skip to content

Commit

Permalink
emove raise window deprecated line.
Browse files Browse the repository at this point in the history
  • Loading branch information
meganerd committed Apr 6, 2024
1 parent a9372a3 commit 58179da
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion night-vision.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ int main(int argc, char* argv[]) {
XDrawLine(display, window, gc, 12 + offset, 4, 12 + offset, 20);
XDrawLine(display, window, gc, 4, 12 + offset, 20, 12 + offset);
}
//XRaiseWindow(display, window) // Expensive to call constantly
XWindowAttributes winAttrs;
if (XGetWindowAttributes(display, root, &winAttrs)) {
if (winAttrs.height >= minHeight) {
Expand Down

0 comments on commit 58179da

Please sign in to comment.