mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-04 12:54:20 +01:00
0.51.1 pre snapshot. Be careful, it may be buggy. It fixes some bugs though.
This commit is contained in:
@@ -60,6 +60,8 @@ showData(_Panel *panel)
|
||||
char *str;
|
||||
|
||||
str = GetStringForKey("ResizeDisplay");
|
||||
if (!str)
|
||||
str = "corner";
|
||||
if (strcasecmp(str, "corner")==0)
|
||||
WMSetPopUpButtonSelectedItem(panel->sizeP, 0);
|
||||
else if (strcasecmp(str, "center")==0)
|
||||
@@ -70,6 +72,8 @@ showData(_Panel *panel)
|
||||
WMSetPopUpButtonSelectedItem(panel->sizeP, 3);
|
||||
|
||||
str = GetStringForKey("MoveDisplay");
|
||||
if (!str)
|
||||
str = "corner";
|
||||
if (strcasecmp(str, "corner")==0)
|
||||
WMSetPopUpButtonSelectedItem(panel->posiP, 0);
|
||||
else if (strcasecmp(str, "center")==0)
|
||||
|
||||
Reference in New Issue
Block a user