projects
/
dockapps
/
hvclock.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a662ade
)
Remove GDK_DISPLAY() usage
author
Hugo Villeneuve
<hugo@hugovil.com>
Fri, 15 Oct 2010 15:40:49 +0000
(15:40 +0000)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Wed, 29 May 2013 02:37:24 +0000
(22:37 -0400)
src/dockapp.c
patch
|
blob
|
history
diff --git
a/src/dockapp.c
b/src/dockapp.c
index
41279ff
..
7b977cc
100644
(file)
--- a/
src/dockapp.c
+++ b/
src/dockapp.c
@@
-78,7
+78,7
@@
dockapp_init(int argc, char *argv[], char *display_arg, char *geometry_arg)
wm_hints.icon_window = GDK_WINDOW_XWINDOW(iconwin->window);
wm_hints.window_group = GDK_WINDOW_XWINDOW(dockwin->window);
- XSetWMHints(GDK_DISPLAY
(), GDK_WINDOW_XWINDOW(dockwin->window
),
- &wm_hints);
+ XSetWMHints(GDK_DISPLAY
_XDISPLAY(gdk_display_get_default()
),
+
GDK_WINDOW_XWINDOW(dockwin->window),
&wm_hints);
}
}