summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-08-30 09:42:27 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-08-30 09:42:27 +0200
commit232302e9b8e81fe7c712d3659164dea3d007b0fe (patch)
tree877097a73aad0025f0f32c2e24b1044b1431c574
parent13bb86700ef0eecbc013bd19215ef0f013fe8bc3 (diff)
downloadfeh-232302e9b8e81fe7c712d3659164dea3d007b0fe.zip
winwidget.c: create_window: Remove useless use of ternary operator
-rw-r--r--src/winwidget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/winwidget.c b/src/winwidget.c
index 94e0a53..73b95c8 100644
--- a/src/winwidget.c
+++ b/src/winwidget.c
@@ -262,7 +262,7 @@ void winwidget_create_window(winwidget ret, int w, int h)
ev.xclient.display = disp;
ev.xclient.window = ret->win;
ev.xclient.format = 32;
- ev.xclient.data.l[0] = (ret->full_screen ? 1 : 0);
+ ev.xclient.data.l[0] = 1;
ev.xclient.data.l[1] = prop_fs;
XChangeProperty(disp, ret->win, prop_state, XA_ATOM, 32,